freetype2/include/freetype
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
..
config Add support for cmap type 14. 2007-10-15 17:21:32 +00:00
internal Add support for cmap type 14. 2007-10-15 17:21:32 +00:00
freetype.h Add support for cmap type 14. 2007-10-15 17:21:32 +00:00
ftbbox.h Add final newline. 2006-05-12 14:24:33 +00:00
ftbdf.h Normalize quotation to `...'. 2006-03-24 12:46:49 +00:00
ftbitmap.h Remove trailing whitespace. From Alexei. 2007-01-16 06:11:27 +00:00
ftcache.h * docs/CHANGES: Document FT_Face_CheckTrueTypePatents). 2007-06-11 04:55:58 +00:00
ftchapters.h * docs/CHANGES: Updated. 2007-07-16 20:46:05 +00:00
ftcid.h Really add new files. 2007-07-17 04:57:01 +00:00
fterrdef.h * include/freetype/fterrdef.h (FT_Err_Corrupted_Font_Header, 2007-06-01 22:16:43 +00:00
fterrors.h Typo. From Han-Wen. 2007-01-23 06:29:23 +00:00
ftgasp.h Remove trailing whitespace. From Alexei. 2007-01-16 06:11:27 +00:00
ftglyph.h * src/tools/docmaker/tohtml.py (html_header_1): Use `utf-8' charset. 2006-05-12 14:20:43 +00:00
ftgxval.h More minor fixes. Move `version' section to the end of freetype.h so that 2006-05-12 13:55:04 +00:00
ftgzip.h More minor fixes. Move `version' section to the end of freetype.h so that 2006-05-12 13:55:04 +00:00
ftimage.h comment fix 2007-03-11 01:21:00 +00:00
ftincrem.h More typo fixes from Alexei. 2007-01-30 23:08:50 +00:00
ftlcdfil.h Remove trailing whitespace. From Alexei. 2007-01-16 06:11:27 +00:00
ftlist.h Spelling fixes from Alexei. 2007-01-29 14:49:59 +00:00
ftlzw.h More minor fixes. Move `version' section to the end of freetype.h so that 2006-05-12 13:55:04 +00:00
ftmac.h formatting, copyright years 2007-02-08 08:54:09 +00:00
ftmm.h * src/tools/docmaker/sources.py (re_source_keywords): Add word 2006-05-12 08:00:13 +00:00
ftmodapi.h Documentation: s/ttengine/truetype_engine/ for orthogonality. 2007-04-10 05:13:03 +00:00
ftmoderr.h * docs/CHANGES, docs/INSTALL.ANY: Updated. 2005-03-23 16:45:24 +00:00
ftotval.h * src/otvalid/otvbase.c, src/otvalid/otvcommn.c, 2007-08-08 06:38:06 +00:00
ftoutln.h Spelling fixes from Alexei. 2007-01-29 14:49:59 +00:00
ftpfr.h * src/tools/docmaker/sources.py (re_source_keywords): Add word 2006-05-12 08:00:13 +00:00
ftrender.h More minor fixes. Move `version' section to the end of freetype.h so that 2006-05-12 13:55:04 +00:00
ftsizes.h * src/tools/docmaker/sources.py (re_source_keywords): Add word 2006-05-12 08:00:13 +00:00
ftsnames.h * src/tools/docmaker/sources.py (re_source_keywords): Add word 2006-05-12 08:00:13 +00:00
ftstroke.h * docs/CHANGES: Document FT_Face_CheckTrueTypePatents). 2007-06-11 04:55:58 +00:00
ftsynth.h * include/freetype/ftbitmap.h (FT_Bitmap_Embolden): Update 2006-02-24 11:18:40 +00:00
ftsystem.h More minor fixes. Move `version' section to the end of freetype.h so that 2006-05-12 13:55:04 +00:00
fttrigon.h More typo fixes from Alexei. 2007-01-30 23:08:50 +00:00
fttypes.h * docs/CHANGES: Document FT_Face_CheckTrueTypePatents). 2007-06-11 04:55:58 +00:00
ftwinfnt.h Remove trailing whitespace. From Alexei. 2007-01-16 06:11:27 +00:00
ftxf86.h Spelling fixes from Alexei. 2007-01-29 14:49:59 +00:00
t1tables.h * Jamfile, README, builds/win32/visualc/freetype.dsp, 2007-01-10 14:18:15 +00:00
ttnameid.h Add support for cmap type 14. 2007-10-15 17:21:32 +00:00
tttables.h Savannah patch #5929. 2007-05-19 07:18:48 +00:00
tttags.h * src/otvalid/otvbase.c, src/otvalid/otvcommn.c, 2007-08-08 06:38:06 +00:00
ttunpat.h * src/tools/docmaker/sources.py (re_source_keywords): Add word 2006-05-12 08:00:13 +00:00