freetype2/src
Werner Lemberg 9a966b7d1b Add support for cmap type 14.
* devel/ftoption.h, include/freetype/config/ftoption.h
(TT_CONFIG_CMAP_FORMAT_14): New macro.

* include/freetype/internal/ftobjs.h (FT_CMap_CharVarIndexFunc,
FT_CMap_CharVarIsDefaultFunc, FT_CMap_VariantListFunc,
FT_CMap_CharVariantListFunc, FT_CMap_VariantCharListFunc): New
support function prototypes.
(FT_CMap_ClassRec): Add them.
Update all users.

* include/freetype/ttnameid.h (TT_APPLE_ID_VARIANT_SELECTOR): New
macro.

* include/freetype/freetype.h (FT_Get_Char_Variant_Index,
FT_Get_Char_Variant_IsDefault, FT_Get_Variant_Selectors,
FT_Get_Variants_Of_Char, FT_Get_Chars_Of_Variant): New API
functions.

* src/base/ftobjs.c (find_variant_selector_charmap): New auxiliary
function.
(FT_Set_Charmap): Disallow cmaps of type 14.
(FT_Get_Char_Variant_Index, FT_Get_Char_Variant_IsDefault,
FT_Get_Variant_Selectors, FT_Get_Variants_Of_Char,
FT_Get_Chars_Of_Variant): New API functions.

* src/sfnt/ttcmap.c (TT_PEEK_UINT24, TT_NEXT_UINT24): New macros.

(TT_CMap14Rec, tt_cmap14_init, tt_cmap14_validate,
tt_cmap14_char_index, tt_cmap14_char_next, tt_cmap14_get_info,
tt_cmap14_char_map_def_binary, tt_cmap14_char_map_nondef_binary,
tt_cmap14_find_variant, tt_cmap14_char_var_index,
tt_cmap14_char_var_isdefault, tt_cmap14_variants,
tt_cmap14_char_variants, tt_cmap14_def_char_count,
tt_cmap14_get_def_chars, tt_cmap14_get_nondef_chars,
tt_cmap14_variant_chars, tt_cmap14_class_rec): New functions and
structures for cmap 14 support.
(tt_cmap_classes): Register tt_cmap14_class_rec.
(tt_face_build_cmaps): One more error message.

* docs/CHANGES: Mention cmap 14 support.
2007-10-15 17:21:32 +00:00
..
autofit * src/pfr/pfrcmap.c: Include pfrerror.h. 2007-07-07 07:30:40 +00:00
base Add support for cmap type 14. 2007-10-15 17:21:32 +00:00
bdf Add support for cmap type 14. 2007-10-15 17:21:32 +00:00
cache * src/base/ftobjs.c (FT_Request_Metrics), src/cache/ftccmap.c 2007-06-01 21:27:12 +00:00
cff Add support for cmap type 14. 2007-10-15 17:21:32 +00:00
cid * src/pfr/pfrcmap.c: Include pfrerror.h. 2007-07-07 07:30:40 +00:00
gxvalid * src/truetype/ttgload.c (load_truetype_glyph): Always allow a 2007-07-04 14:12:19 +00:00
gzip Remove tabs from source files. 2007-06-01 06:56:17 +00:00
lzw * docs/CHANGES: Updated. 2007-05-25 07:11:12 +00:00
otvalid * src/otvalid/otvcmmn.c (otv_x_y_ux_sy): Skip context glyphs. Found 2007-08-18 06:38:07 +00:00
pcf Add support for cmap type 14. 2007-10-15 17:21:32 +00:00
pfr Add support for cmap type 14. 2007-10-15 17:21:32 +00:00
psaux Add support for cmap type 14. 2007-10-15 17:21:32 +00:00
pshinter * src/pshinter/pshrec.c (ps_mask_table_set_bits): Add `const'. 2007-05-20 18:07:52 +00:00
psnames * src/psnames/psmodule.c: Fix usage of 2007-08-02 22:03:30 +00:00
raster * src/raster/ftraster.c (count_table): Make it conditional. 2007-07-28 05:40:40 +00:00
sfnt Add support for cmap type 14. 2007-10-15 17:21:32 +00:00
smooth * src/tools/ftrandom.c (font_size): New global variable. 2007-06-17 05:31:23 +00:00
tools * src/tools/ftrandom.c (font_size): New global variable. 2007-06-17 05:31:23 +00:00
truetype Really restore changes introduced in revision 1.178. 2007-07-10 23:10:39 +00:00
type1 * src/type1/t1load.c (parse_encoding): Handle one more error. 2007-06-19 07:57:30 +00:00
type42 * src/type42/t42parse.c (t42_parse_encoding): Handle one more error. 2007-06-18 17:07:49 +00:00
winfonts Add support for cmap type 14. 2007-10-15 17:21:32 +00:00
Jamfile Add license. 2005-06-04 23:04:30 +00:00