freetype2/src/autofit
Werner Lemberg 8b84c9d19f autohinter: Don't change digit widths if all widths are the same.
This fixes FreeDesktop bug #21197.

* src/autofit/afglobal.c (AF_DIGIT): New macro.
(af_face_globals_compute_script_coverage): Mark ASCII digits in
`glyph_scripts' array.
(af_face_globals_get_metrics): Updated.
(af_face_globals_is_digit): New function.
* src/autofit/afglobal.h: Updated.
(AF_ScriptMetricsRec): Add `digits_have_same_width' flag.

* src/autofit/aflatin.c: Include FT_ADVANCES_H.
(af_latin_metrics_check_digits): New function.
(af_latin_metrics_init): Use it.
* src/autofit/aflatin.h: Updated.
* src/autofit/afcjk.c (af_cjk_metrics_init): Updated.

* src/autofit/aflatin2.c: Similar changes as with aflatin.c.

* src/autofit/afloader.c (af_loader_load_g): Test digit width.

* docs/CHANGES: Document it.
2009-04-27 19:40:35 +02:00
..
Jamfile Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
afangles.c * src/base/ftcalc.c: Don't use `long long' but `FT_Int64'. 2006-11-03 09:40:12 +00:00
afangles.h * src/autofit/afdummy.c, src/autofit/afdummy.h 2005-03-02 11:24:23 +00:00
afcjk.c autohinter: Don't change digit widths if all widths are the same. 2009-04-27 19:40:35 +02:00
afcjk.h Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
afdummy.c Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
afdummy.h Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
aferrors.h * docs/CHANGES, docs/INSTALL.ANY: Updated. 2005-03-23 16:45:24 +00:00
afglobal.c autohinter: Don't change digit widths if all widths are the same. 2009-04-27 19:40:35 +02:00
afglobal.h autohinter: Don't change digit widths if all widths are the same. 2009-04-27 19:40:35 +02:00
afhints.c Don't use stdlib.h and friends directly. 2009-01-13 17:34:48 +00:00
afhints.h Cosmetic code changes. 2008-05-28 22:17:28 +00:00
afindic.c Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
afindic.h Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
aflatin.c autohinter: Don't change digit widths if all widths are the same. 2009-04-27 19:40:35 +02:00
aflatin.h autohinter: Don't change digit widths if all widths are the same. 2009-04-27 19:40:35 +02:00
aflatin2.c autohinter: Don't change digit widths if all widths are the same. 2009-04-27 19:40:35 +02:00
aflatin2.h Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
afloader.c autohinter: Don't change digit widths if all widths are the same. 2009-04-27 19:40:35 +02:00
afloader.h Various fixes for C and C++ compiling. 2005-03-03 17:09:08 +00:00
afmodule.c Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
afmodule.h Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
afpic.c Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
afpic.h Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
aftypes.h autohinter: Don't change digit widths if all widths are the same. 2009-04-27 19:40:35 +02:00
afwarp.c formatting 2007-01-26 16:08:49 +00:00
afwarp.h * src/cff/cffload.c (cff_index_get_pointers): Handle last entry 2007-01-25 11:50:00 +00:00
autofit.c Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
module.mk FT_USE_MODULE declares things as: 2008-12-21 10:29:30 +00:00
rules.mk Add autofit module for Indic scripts. This currently just reuses 2007-06-26 04:44:35 +00:00