freetype2/src/autofit
Werner Lemberg 974b193bcc [autofit] Introduce `styles'.
This is the new top-level structure for handling glyph input data;
scripts are now defined separately.

* src/autofit/aftypes.h (SCRIPT): Updated.
(AF_ScriptClassRec): Move `blue_stringset' and `writing_system'
members to ...
(AF_Style_ClassRec): ... this new structure.
(AF_Style): New enumeration.
(AF_StyleMetricsRec): Replace `script' enumeration with
`style_class' pointer.
(AF_DEFINE_SCRIPT_CLASS, AF_DECLARE_SCRIPT_CLASS): Updated.
(AF_DEFINE_STYLE_CLASS, AF_DECLARE_STYLE_CLASS): New macros.

* src/autofit/afstyles.h: New file, using data from `afscript.h'.
* src/autofit/afscript.h: Updated.

* src/autofit/afcjk.c (af_cjk_metrics_init_widths,
af_cjk_metrics_init_blues, af_cjk_hint_edges): Updated.

* src/autofit/afglobal.c (SCRIPT): Updated.
(STYLE): Redefine macro to load `afstyles.h'.
(af_script_names) [FT_DEBUG_LEVEL_TRACE]: Replace with...
(af_style_names): ... this array.
(af_face_globals_compute_script_coverage): Renamed to...
(af_face_globals_compute_style_coverage): ... this.
Updated.
(af_face_globals_new, af_face_globals_free,
af_face_globals_get_metrics): Updated.

* src/autofit/afglobal.h (SCRIPT): Updated.
(STYLE): Redefine macro to load `afstyles.h'.
(AF_SCRIPT_FALLBACK): Update definition.  This will get more
refinements with later on.
(AF_SCRIPT_UNASSIGNED): Replace with...
(AF_STYLE_UNASSIGNED): ... this macro.
(AF_FaceGlobalsRec): Updated.

* src/autofit/aflatin.c (af_latin_metrics_init_widths,
af_latin_metrics_init_blues, af_latin_metrics_scale_dim,
af_latin_hint_edges): Updated.

* src/autofit/aflatin2.c (af_latin2_metrics_init_widths): Updated.
(af_ltn2_uniranges): Removed.

* src/autofit/afloader.c (af_loader_load_g, af_loader_load_glyph):
Updated.

* src/autofit/afpic.c (autofit_module_class_pic_init): Updated.
* src/autofit/afpic.h (AF_STYLE_CLASSES_GET): New macro.
(AFModulePIC): Add `af_style_classes' and `af_style_classes_rec'
members.

* src/autofit/afranges.h: Updated.

* src/autofit/rules.mk (AUTOF_DRV_H): Add `afstyles.h'.
2013-12-20 17:26:26 +01:00
..
Jamfile Remove compiler warning. 2009-05-28 07:07:48 +02:00
afangles.c [autofit] Quantize stem widths. 2012-07-03 11:54:12 +02:00
afangles.h * src/autofit/afdummy.c, src/autofit/afdummy.h 2005-03-02 11:24:23 +00:00
afblue.c [autofit] Minor. 2013-12-19 15:24:39 +01:00
afblue.cin [autofit] Minor. 2013-12-19 15:24:39 +01:00
afblue.dat [autofit] s/SMALL_TOP/X_HEIGHT/. 2013-10-19 21:46:03 +02:00
afblue.h [autofit] Minor. 2013-12-19 15:24:39 +01:00
afblue.hin [autofit] Minor. 2013-12-19 15:24:39 +01:00
afcjk.c [autofit] Introduce `styles'. 2013-12-20 17:26:26 +01:00
afcjk.h [autofit] Factor scripts and uniranges out of writing system files. 2013-12-19 15:45:24 +01:00
afdummy.c [autofit] Factor scripts and uniranges out of writing system files. 2013-12-19 15:45:24 +01:00
afdummy.h [autofit] Introduce `styles'. 2013-12-20 17:26:26 +01:00
aferrors.h Prepare source code for amalgamation. 2012-03-08 06:04:03 +01:00
afglobal.c [autofit] Introduce `styles'. 2013-12-20 17:26:26 +01:00
afglobal.h [autofit] Introduce `styles'. 2013-12-20 17:26:26 +01:00
afhints.c [autofit] s/ScriptMetrics/StyleMetrics/. 2013-12-18 12:59:35 +01:00
afhints.h [autofit] Introduce `styles'. 2013-12-20 17:26:26 +01:00
afindic.c [autofit] Factor scripts and uniranges out of writing system files. 2013-12-19 15:45:24 +01:00
afindic.h [autofit] Factor scripts and uniranges out of writing system files. 2013-12-19 15:45:24 +01:00
aflatin.c [autofit] Introduce `styles'. 2013-12-20 17:26:26 +01:00
aflatin.h [autofit] Introduce `styles'. 2013-12-20 17:26:26 +01:00
aflatin2.c [autofit] Introduce `styles'. 2013-12-20 17:26:26 +01:00
aflatin2.h [autofit] Factor scripts and uniranges out of writing system files. 2013-12-19 15:45:24 +01:00
afloader.c [autofit] Introduce `styles'. 2013-12-20 17:26:26 +01:00
afloader.h [autofit] s/ScriptMetrics/StyleMetrics/. 2013-12-18 12:59:35 +01:00
afmodule.c [autofit] Introduce `styles'. 2013-12-20 17:26:26 +01:00
afmodule.h [autofit] Implement `fallback-script' property. 2012-09-15 18:26:28 +02:00
afpic.c [autofit] Introduce `styles'. 2013-12-20 17:26:26 +01:00
afpic.h [autofit] Introduce `styles'. 2013-12-20 17:26:26 +01:00
afranges.c [autofit] Factor scripts and uniranges out of writing system files. 2013-12-19 15:45:24 +01:00
afranges.h [autofit] Introduce `styles'. 2013-12-20 17:26:26 +01:00
afscript.h [autofit] Introduce `styles'. 2013-12-20 17:26:26 +01:00
afstyles.h [autofit] Introduce `styles'. 2013-12-20 17:26:26 +01:00
aftypes.h [autofit] Introduce `styles'. 2013-12-20 17:26:26 +01:00
afwarp.c Remove trailing spaces. 2012-01-17 02:00:24 +09:00
afwarp.h * src/cff/cffload.c (cff_index_get_pointers): Handle last entry 2007-01-25 11:50:00 +00:00
afwrtsys.h [autofit] Move declaration of writing systems into separate file. 2013-08-02 19:51:17 +02:00
autofit.c [autofit] Factor scripts and uniranges out of writing system files. 2013-12-19 15:45:24 +01:00
module.mk FT_USE_MODULE declares things as: 2008-12-21 10:29:30 +00:00
rules.mk [autofit] Introduce `styles'. 2013-12-20 17:26:26 +01:00