freetype/src/base
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
..
ftapi.c Remove trailing whitespace. From Alexei. 2007-01-16 06:11:27 +00:00
ftbase.c formatting, copyright years 2007-02-08 08:54:09 +00:00
ftbbox.c Spelling fixes from Alexei. 2007-01-26 22:18:56 +00:00
ftbdf.c * include/freetype/ftbitmap.h (FT_Bitmap_Copy, FT_Bitmap_Embolden), 2005-10-20 02:13:46 +00:00
ftbitmap.c fixed a memory buffer overwrite bug. Damn !! 2007-04-06 08:19:04 +00:00
ftcalc.c experimental changes for the Latin auto-hinter. 2007-06-11 05:37:35 +00:00
ftcid.c Really add new files. 2007-07-17 04:57:01 +00:00
ftdbgmem.c 2006-08-27 Jens Claudius <jens.claudius@yahoo.com> 2006-08-27 11:26:18 +00:00
ftdebug.c * src/base/ftcalc.c (FT_MulTo64): Commented out. 2005-11-17 01:53:07 +00:00
ftgasp.c formatting, copyright years and messages, doc polishing 2007-01-09 10:37:36 +00:00
ftgloadr.c formatting 2006-08-19 11:18:09 +00:00
ftglyph.c * src/base/ftglyph.c (FT_Glyph_Copy): Fix initialization of 2007-07-08 07:13:12 +00:00
ftgxval.c formatting, copyright years 2006-06-25 06:07:14 +00:00
ftinit.c formatting, copyright years 2007-03-06 12:06:56 +00:00
ftlcdfil.c add comment 2006-12-19 14:34:07 +00:00
ftmac.c * src/base/ftmac.c: Use more abstract data type instead of `short\' 2007-08-29 06:08:59 +00:00
ftmm.c Remove trailing whitespace. From Alexei. 2007-01-16 06:11:27 +00:00
ftnames.c * src/cache/ftccache.c (ftc_node_hash_unlink, ftc_node_hash_link) 2002-06-08 06:47:18 +00:00
ftobjs.c Add support for cmap type 14. 2007-10-15 17:21:32 +00:00
ftotval.c formatting, copyright years 2006-06-25 06:07:14 +00:00
ftoutln.c * src/base/ftoutln.c (FT_Outline_Translate): Check `outline' before 2007-07-27 04:44:36 +00:00
ftpatent.c formatting 2007-07-02 14:58:58 +00:00
ftpfr.c Documentation updates, whitespace. 2004-12-13 23:16:59 +00:00
ftrfork.c * fix 2 memory leaks in MacOS resource fork handler, Savannah bug #16631 2006-05-19 23:16:12 +00:00
ftstream.c * include/freetype/internal/ftmemory.h: s/new/newsz/ (for C++). 2006-05-02 22:22:16 +00:00
ftstroke.c Formatting, copyright years, documentation. 2006-04-22 12:24:52 +00:00
ftsynth.c Formatting. 2006-11-07 09:47:04 +00:00
ftsystem.c Further C library abstraction. Based on a patch from 2006-04-29 07:31:16 +00:00
fttrigon.c * src/base/fttrigon.c (ft_trig_prenorm): fixed a bug that created 2005-11-15 17:30:56 +00:00
fttype1.c Add new function FT_Get_PS_Font_Private(). 2004-11-12 07:02:45 +00:00
ftutil.c fixing implementation bug in ft_mem_strcpyn 2007-03-08 10:50:38 +00:00
ftwinfnt.c Documentation updates, whitespace. 2004-12-13 23:16:59 +00:00
ftxf86.c Documentation updates, whitespace. 2004-12-13 23:16:59 +00:00
Jamfile * include/freetype/config/ftoption.h: clarify documentation regarding 2007-06-10 20:51:04 +00:00
rules.mk * src/base/ftoutln.c (FT_Outline_Get_Orientation): Fix compilation 2007-01-13 08:45:00 +00:00