freetype2/include/freetype/internal/services
Werner Lemberg adf828ff95 Fix Savannah bug #15056 and use pscmap service in psaux module.
* include/freetype/internal/services/svpscmap.h (PS_UniMap): Use
FT_UInt32 for `glyph_index'.
(PS_Unicodes_InitFunc): Use FT_String for `glyph_names'.
(PS_Unicodes_CharIndexFunc): Use FT_UInt32 for `unicode'.
(PS_Unicodes_CharNextFunc): Make second argument a pointer to
FT_UInt32.

* src/psnames/psmodule.c (VARIANT_BIT, BASE_GLYPH): New macros.
(ps_unicode_value): Set VARIANT_BIT in return value if glyph is a
variant glyph (this is, it has non-leading `.' in its name).
(compare_uni_maps): Sort base glyphs before variant glyphs.
(ps_unicodes_init): Use FT_String for `glyph_names' argument.
Reallocate only if number of used entries is much smaller.
Updated to handle variant glyphs.
(ps_unicodes_char_index, ps_unicodes_char_next): Prefer base glyphs
over variant glyphs.
Simplify code.

* src/psaux/t1cmap.c (t1_cmap_uni_pair_compare): Removed.
(t1_cmap_unicode_init, t1_cmap_unicode_char_index,
t1_cmap_unicode_char_next): Use pscmap service.
(t1_cmap_unicode_done): Updated.

* src/psaux/t1cmap.h (T1_CMapUniPair): Removed.
(T1_CMapUnicode): Use PS_Unicodes structure.
2006-01-11 10:08:49 +00:00
..
svbdf.h * include/freetype/internal/bdftypes.h: removed obsolete header 2003-10-29 21:43:52 +00:00
svgldict.h * include/freetype/internal/services/bdf.h: Renamed to... 2003-09-16 07:57:25 +00:00
svgxval.h * docs/CHANGES: Mention gxvalid module. 2005-08-25 06:00:55 +00:00
svmm.h * src/pcf/pcfdrivr.c: Revert change from 2004-04-17. 2004-04-25 20:15:11 +00:00
svotval.h Adding OpenType validation module. The code is based on the 2004-09-10 14:39:00 +00:00
svpfr.h * include/freetype/internal/ftserv.h (FT_FACE_FIND_SERVICE): 2003-09-22 09:53:56 +00:00
svpostnm.h * include/freetype/internal/services/svpsname.h (added), 2003-09-29 20:33:37 +00:00
svpscmap.h Fix Savannah bug #15056 and use pscmap service in psaux module. 2006-01-11 10:08:49 +00:00
svpsinfo.h Add new function FT_Get_PS_Font_Private(). 2004-11-12 07:02:45 +00:00
svsfnt.h Formatting. 2005-03-08 11:43:36 +00:00
svttcmap.h Add new function FT_Get_CMap_Language_ID to extract the language ID 2003-12-17 14:28:22 +00:00
svwinfnt.h * include/freetype/internal/ftserv.h (FT_FACE_FIND_SERVICE): 2003-09-22 09:53:56 +00:00
svxf86nm.h * include/freetype/internal/ftserv.h (FT_FACE_FIND_SERVICE): 2003-09-22 09:53:56 +00:00