freetype2/include/freetype
Werner Lemberg 24aa9c665e [autofit] Rewrite HarfBuzz interface to support character clusters.
Scripts like Khmer have blue zones that can't be directly
represented by Unicode characters.  Instead, it is necessary to let
HarfBuzz convert character clusters into proper glyph representation
forms, then deriving the blue zone information from the resulting
glyphs.

* src/autofit/hbshim.c, src/autofit/hbshim.h: Replaced by...
* src/autofit/afshaper.c, src/autofit/afshaper.h: ... these two new
files, providing a new API to access HarfBuzz.

The new API manages a HarfBuzz buffer with `af_shaper_buf_create'
and `af_shaper_buf_destroy'.  The buffer receives a UTF8 encoded
string with function `af_shaper_get_cluster', and the resulting
glyph data (indices, advance widths, vertical offsets) can be
iteratively accessed with function `af_shaper_get_elem'.

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

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

* include/freetype/internal/fttrace.h: s/afharfbuzz/afshaper/.

* src/autofit/afglobal.c: s/hbshim.h/afshaper.h/.
(af_face_globals_compute_style_coverage): Updated.

* src/autofit/afglocal.h: s/hbshim.h/afshaper.h/.

* src/autofit/autofit.c: s/hbshim.c/afshaper.c/.

* src/autofit/Jamfile, src/autofit/rules.mk (AUTOF_DRV_SRC):
Updated.
2015-12-06 18:52:41 +01:00
..
config [truetype] Improve TT_CONFIG_OPTION_MAX_RUNNABLE_OPCODES (#46223). 2015-10-18 18:15:04 +02:00
internal [autofit] Rewrite HarfBuzz interface to support character clusters. 2015-12-06 18:52:41 +01:00
freetype.h Minor rearrangement. 2015-12-02 00:30:57 -05:00
ftadvanc.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftautoh.h Change default LCD filter to be normalized and color-balanced. 2015-11-28 12:04:28 +01:00
ftbbox.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftbdf.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftbitmap.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftbzip2.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftcache.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftcffdrv.h Use new docmaker syntax for identifiers with identical names. 2015-11-26 14:31:08 +01:00
ftchapters.h Describe error values and strings in the documentation. 2015-07-23 13:35:07 +02:00
ftcid.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
fterrdef.h Typo. 2015-10-19 23:17:25 +02:00
fterrors.h Describe error values and strings in the documentation. 2015-07-23 13:35:07 +02:00
ftfntfmt.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftgasp.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftglyph.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftgxval.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftgzip.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftimage.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftincrem.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftlcdfil.h * include/freetype/ftlcdfil.h: Documentation tweak. 2015-11-28 22:43:33 -05:00
ftlist.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftlzw.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftmac.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftmm.h Improve documentation of `FT_Get_MM_Var' and `FT_MM_Var'. 2015-10-22 07:22:55 +02:00
ftmodapi.h Allow native CFF hinter in FT_RENDER_MODE_LIGHT. 2015-11-10 22:33:45 +01:00
ftmoderr.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftotval.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftoutln.h Minor documentation fix. 2015-08-19 06:51:06 +02:00
ftpfr.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftrender.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftsizes.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftsnames.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftstroke.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftsynth.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftsystem.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
fttrigon.h Minor documentation corrections. 2015-09-09 07:52:17 +02:00
ftttdrv.h Better document various TrueType hinting modes. 2015-09-10 07:44:48 +02:00
fttypes.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ftwinfnt.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
t1tables.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ttnameid.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
tttables.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
tttags.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00
ttunpat.h Another adjustment to header locations. 2015-06-26 06:48:00 +02:00