freetype2/include/freetype
Werner Lemberg e6e6eade04 Finish fix of scaling bug of CID-keyed CFF subfonts.
* include/freetype/internal/ftcalc.h, src/base/ftcalc.c
(FT_Matrix_Multiply_Scaled, FT_Vector_Transform_Scaled): New
functions.

* src/cff/cffobjs.h (CFF_Internal): New struct.  It is used to
provide global hinting data for both the top-font and all subfonts
(with proper scaling).

* src/cff/cffobjs.c (cff_make_private_dict): New function, using
code from `cff_size_init'.
(cff_size_init, cff_size_done, cff_size_select, cff_size_request):
Use CFF_Internal and handle subfonts.
(cff_face_init): Handle top-dict and subfont matrices correctly;
apply some heuristic in case of unlikely matrix concatenation
results.  This has been discussed with people from Adobe (thanks
goes mainly to David Lemon) who confirm that the CFF specs are fuzzy
and not correct.

* src/cff/cffgload.h (cff_decoder_prepare): Add `size' argument.

* src/cff/cffgload.c (cff_builder_init): Updated.
(cff_decoder_prepare): Handle hints globals for subfonts.
Update all callers.
(cff_slot_load): Handling scaling of subfonts properly.

* src/cff/cffparse.c (cff_parse_fixed_dynamic): New function.
(cff_parse_font_matrix): Use it.

* src/cff/cfftypes.h (CFF_FontDictRec): Make `units_per_em'
FT_ULong.

* docs/CHANGES: Document it.
2008-05-14 23:05:38 +00:00
..
config Explain `CJK'. 2008-02-16 05:53:46 +00:00
internal Finish fix of scaling bug of CID-keyed CFF subfonts. 2008-05-14 23:05:38 +00:00
freetype.h Fix support for subsetted CID-keyed CFFs. 2008-04-01 05:55:48 +00:00
ftbbox.h Formatting, improving documentation. 2007-10-20 16:15:07 +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 Formatting, improving documentation. 2007-10-20 16:15:07 +00:00
ftcid.h Formatting, improving documentation. 2007-10-20 16:15:07 +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 whitespace 2008-04-13 21:59:29 +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 Whitespace. 2008-01-12 20:24:01 +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 Improvements of the document and comments in Mac OS sources by Sean McBride 2007-12-06 05:43:36 +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 Formatting, improving documentation. 2007-10-20 16:15:07 +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