freetype2/src
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
..
autofit [autofit] Introduce `styles'. 2013-12-20 17:26:26 +01:00
base Formatting. 2013-12-02 09:52:38 +01:00
bdf [bdf, pcf] Refuse non-zero face_index. 2013-09-25 10:57:17 +09:00
bzip2 */*: Use FT_Err_Ok only. 2013-03-14 11:21:17 +01:00
cache Simplify header file hierarchy. 2013-11-13 08:55:46 +01:00
cff [cff] Fix for hints that touch. 2013-11-08 10:52:51 +01:00
cid Better tracing of loaded glyphs. 2013-08-26 12:55:48 +02:00
gxvalid Another round of cppcheck nitpicks. 2013-08-01 12:20:20 +02:00
gzip [gzip] New function `FT_Gzip_Uncompress'. 2013-08-29 17:53:24 +02:00
lzw Apply fixes for cppcheck nitpicks. 2013-06-04 10:30:48 +02:00
otvalid */*: Use FT_ERR_EQ, FT_ERR_NEQ, and FT_ERR where appropriate. 2013-03-14 17:50:49 +01:00
pcf [bdf, pcf] Refuse non-zero face_index. 2013-09-25 10:57:17 +09:00
pfr Better tracing of loaded glyphs. 2013-08-26 12:55:48 +02:00
psaux Next round of compiler fixes. 2013-06-06 09:16:38 +02:00
pshinter Another round of cppcheck nitpicks. 2013-08-01 12:20:20 +02:00
psnames Whitespace. 2013-03-17 08:14:46 +01:00
raster Simplify header file hierarchy. 2013-11-13 08:55:46 +01:00
sfnt [sfnt] Fix handling of embedded bitmap strikes. 2013-12-04 06:18:56 +01:00
smooth Simplify header file hierarchy. 2013-11-13 08:55:46 +01:00
tools Simplify header file hierarchy. 2013-11-13 08:55:46 +01:00
truetype [truetype] Simplify logic of rendering modes. 2013-12-11 09:01:13 +01:00
type1 Better tracing of loaded glyphs. 2013-08-26 12:55:48 +02:00
type42 [bdf, pcf] Refuse non-zero face_index. 2013-09-25 10:57:17 +09:00
winfonts Better tracing of loaded glyphs. 2013-08-26 12:55:48 +02:00
Jamfile Simplify header file hierarchy. 2013-11-13 08:55:46 +01:00