[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Devel] FTC_CMapCache_Lookup in Freetype-2.1.8
From: |
Werner LEMBERG |
Subject: |
Re: [Devel] FTC_CMapCache_Lookup in Freetype-2.1.8 |
Date: |
Thu, 03 Jun 2004 10:00:55 +0200 (CEST) |
> In the ChangeLog, it wrote:
> "- the "FTC_CMapCache_Lookup" function has changed its signature,
> charmaps can now only be retrieved by index".
> In the previous version, the index of a glyph can be translated by
> FTC_CMapCache with FTC_CMAP_BY_ENCODING, FTC_CMAP_BY_INDEX or
> FTC_CMAP_BY_ID.
> I am curious that why the "FTC_CMapCache_Lookup" was changed to
> retrieve the charmap by index only.
Please have a look into ftcommon.i and ftview.c from the ft2demos
package which demonstrates how to use the cmap cache. You have to
use the CVS version (from both FreeType and ft2demos) since I've
found and fixed some bugs after the last release.
Werner