freetype2/include/freetype/internal
suzuki toshiya 084abf0469 [autofit] Add bluezones for CJK Ideographs.
To remove extremas of vertical strokes of CJK Ideographs at
low resolution and make the top and bottom horizontal stems
aligned, bluezones for CJK Ideographs are calculated from
sample glyphs.  At present, vertical bluezones (bluezones
to align vertical stems) are disabled by default.  For detail, see
http://lists.gnu.org/archive/html/freetype-devel/2011-04/msg00070.html
http://lists.gnu.org/archive/html/freetype-devel/2011-04/msg00092.html
http://lists.gnu.org/archive/html/freetype-devel/2011-05/msg00001.html

* include/freetype/internal/fttrace.h: New trace component `afcjk'.
* src/autofit/afcjk.h (AF_CJK{Blue,Axis,Metric}Rec): Add CJK version
for AF_Latin{Blue,Axis,Metric}Rec.
(af_cjk_metrics_check_digits): Ditto, shared with Indic module.
(af_cjk_metrics_init_widths): Ditto.
(af_cjk_metrics_init): Take AF_CJKMetric instead of AF_LatinMetric.
(af_cjk_metrics_scale): Ditto (declaration).
(af_cjk_hints_init): Ditto (declaration).
(af_cjk_hints_apply): Ditto (declaration).
* src/autofit/afcjk.c (af_cjk_metrics_scale): Ditto (body).
(af_cjk_hints_init): Ditto (body).
(af_cjk_hints_apply): Ditto (body).
(af_cjk_metrics_init_widths): Duplicate af_latin_metrics_init_widths.
(af_cjk_metrics_check_digits): Duplicate af_latin_metrics_check_digits.
(af_cjk_metrics_init): Call CJK bluezone initializer.
(af_cjk_metrics_scale_dim): Add code to scale bluezones.
(af_cjk_hints_compute_blue_edges): New function, CJK version of
af_latin_hints_compute_blue_edges.
(af_cjk_metrics_init_blues): New function, CJK version of
af_latin_metrics_init_blues.
(af_cjk_hints_edges): Add code to align the edge stems to blue zones.

* src/autofit/afindic.c (af_indic_metrics_init): Take AF_CJKMetric
instead of AF_LatinMetric, and initialize as af_cjk_metrics_init.
However bluezones are not initialized.
(af_indic_metrics_scale): Take AF_CJKMetric instead of AF_LatinMetric.
(af_indic_hints_init): Ditto.
(af_indic_hints_apply): Ditto.

* docs/CHANGES: Note about CJK bluezone support.
2011-05-08 19:22:32 +09:00
..
services XXX_cmap_encoding_char_next() return FT_UInt32 values. 2009-08-01 00:32:09 +09:00
autohint.h Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
ftcalc.h Code beautification. 2009-06-21 20:17:01 +02:00
ftdebug.h Avoid compiler warnings. 2009-01-12 20:11:14 +00:00
ftdriver.h Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
ftgloadr.h Prevent the overflows by a glyph with too many points or contours. 2009-07-08 14:52:11 +09:00
ftmemory.h Fix type-punning issues with C++. 2010-07-12 20:57:54 +02:00
ftobjs.h Add reference counters and to FT_Library and FT_Face objects. 2010-07-18 18:41:47 +02:00
ftpic.h Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
ftrfork.h * src/smooth/ftgrays.c (gray_raster_render): Check `outline' 2007-12-30 23:49:14 +00:00
ftserv.h Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
ftstream.h Fix reading of signed integers from files on 64bit platforms. 2011-04-12 09:26:43 +02:00
fttrace.h [autofit] Add bluezones for CJK Ideographs. 2011-05-08 19:22:32 +09:00
ftvalid.h 2006-10-03 Jens Claudius <jens.claudius@yahoo.com> 2006-10-03 08:53:37 +00:00
internal.h Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
psaux.h psaux: Fix a data type mismatching with its source. 2009-08-01 00:32:19 +09:00
pshints.h Use 16.16 format while parsing Type 1 charstrings. 2009-06-22 16:56:47 +02:00
sfnt.h Position Independent Code (PIC) support in sfnt driver. 2009-04-05 18:08:32 +03:00
t1types.h Fix custom cmap for empty Type 1 font (Savannah bug #27294). 2009-09-01 08:10:24 +02:00
tttypes.h sfnt: Extend TT_BDF->strings_size to FT_ULong for huge BDF. 2009-08-01 00:32:13 +09:00