freetype/builds
Werner Lemberg 1924134710 Introduce `coverages'.
Coverages are the interface to the HarfBuzz library to access
OpenType features for handling glyphs not addressable by the cmap.

Right now, compilation of HarfBuzz is only added to the development
build.  A solution for standard build mode will be delayed until
HarfBuzz gets split into two libraries to avoid mutual dependencies
between FreeType and HarfBuzz.

Note that this is only a first step in handling coverages, basically
providing the framework only.  Code for handling selected OpenType
features (this is, actually using the data in `afcover.h') will
follow.

* devel/ftoption.h, include/config/ftoption.h
(FT_CONFIG_OPTION_USE_HARFBUZZ): New macro.

* src/autofit/hbshim.c, src/autofit/hbshim.h, src/autofit/afcover.h:
New files.

* src/autofit/afscript.h: Add HarfBuzz script name tags.

* src/autofit/afstyles.h: Add default coverage enumeration values.

* src/autofit/aftypes.h: Update use of `SCRIPT' and `STYLE' macros.
(AF_Coverage): New enumeration (generated by `afcover.h').
(AF_StyleClassRec): New member `coverage'.
(AF_DEFINE_STYLE_CLASS): Updated.

* include/internal/fttrace.h: Add `afharfbuzz' for tracing coverage
data.

* src/autofit/afglobal.h: Update use of `SCRIPT' and `STYLE' macros.
(AF_SCRIPT_FALLBACK): Renamed to ...
(AF_STYLE_FALLBACK): ... this.

* src/autofit/afglobal.c: Include `hbshim.c'.
Update use of `SCRIPT' and `STYLE' macros.
(af_face_globals_compute_style_coverage)
[FT_CONFIG_OPTION_USE_HARFBUZZ]: Call `af_get_coverage'.
Update.

* src/autofit/afmodule.h (AF_ModuleRec):
s/fallback_script/fallback_style/.

* src/autofit/afmodule.c (af_property_set): Adapt handling of
`fallback-script' property to set a fallback style.
(af_property_get, af_autofitter_init): Updated.

* src/autofit/afpic.c: Update use of `SCRIPT' and `STYLE' macros.

* src/autofit/afranges.h: Update use of `SCRIPT' macro.

* src/autofit/autofit.c [FT_CONFIG_OPTION_USE_HARFBUZZ]: Include
`hbshim.c'.

* src/autofit/rules.mk (AUTOF_DRV_SRC): Add `hbshim.c'.
(AUTOF_DRV_H): Add `afcover.h'.

* builds/freetype.mk (INCLUDE_FLAGS) [DEVEL_DIR]: Use pkg-config for
all libraries needed by FreeType.
2013-12-21 21:39:04 +01:00
..
amiga Simplify header file hierarchy. 2013-11-13 08:55:46 +01:00
ansi * builds/*/*def.mk, builds/*/detect.mk (CAT): Define to either `cat' 2006-12-09 20:01:43 +00:00
atari Remove trailing whitespace. 2013-01-24 13:33:06 +01:00
beos * builds/*/*def.mk, builds/*/detect.mk (CAT): Define to either `cat' 2006-12-09 20:01:43 +00:00
compiler Remove trailing whitespace. 2013-01-24 13:33:06 +01:00
dos * builds/*/*def.mk, builds/*/detect.mk (CAT): Define to either `cat' 2006-12-09 20:01:43 +00:00
mac Typos. 2013-11-03 20:29:37 +01:00
os2 * builds/*/*def.mk, builds/*/detect.mk (CAT): Define to either `cat' 2006-12-09 20:01:43 +00:00
symbian Simplify header file hierarchy. 2013-11-13 08:55:46 +01:00
unix * Version 2.5.2 released. 2013-12-08 23:14:46 +01:00
vms Simplify header file hierarchy. 2013-11-13 08:55:46 +01:00
wince * Version 2.5.2 released. 2013-12-08 23:14:46 +01:00
windows * Version 2.5.2 released. 2013-12-08 23:14:46 +01:00
detect.mk Simplify header file hierarchy. 2013-11-13 08:55:46 +01:00
exports.mk * builds/exports.mk: Add CCexe_CFLAGS and CCexe_LDFLAGS. 2012-06-14 17:56:01 +09:00
freetype.mk Introduce `coverages'. 2013-12-21 21:39:04 +01:00
link_dos.mk Completely revised FreeType's make management. 2003-06-09 04:46:30 +00:00
link_std.mk Completely revised FreeType's make management. 2003-06-09 04:46:30 +00:00
modules.mk * builds/modules.mk (CLOSE_MODULE, REMOVE_MODULE), builds/detect.mk 2008-02-11 08:22:40 +00:00
newline * include/freetype/fttrigon.h, src/base/fttrigon.c, src/base/ftbase.c, 2001-05-11 14:25:57 +00:00
toplevel.mk Simplify header file hierarchy. 2013-11-13 08:55:46 +01:00