freetype2/src
Werner Lemberg 98e510ee94 [autofit] Fix Savannah bug #42148.
The adaptation of the cjk auto-hinter module to blue stringsets in
2013-08-25 had three severe bugs.  Mea culpa.

1. Contrary to the latin auto-hinter, characters for reference and
   overshoot values of a blue zone are specified separately.  Due to
   the screwed-up change it didn't work at all.

2. A boolean comparison was erroneously replaced with a cast,
   causing invalid results with the `^' operator later on.  The
   visual artifact caused by this problem is the topic of the bug
   report.

3. Two flag values were inverted, causing incorrect assignment of
   reference and overshoot values.

* src/autofit/afblue.dat: Fix CJK bluestrings, introducing a new
syntax to have both reference and overshoot characters in a single
string.  This is error #1.
Add extensive comments.

* src/autofit/afblue.hin (AF_BLUE_PROPERTY_CJK_FILL): Removed, no
longer used.
(AF_BLUE_PROPERTY_CJK_TOP, AF_BLUE_PROPERTY_CJK_HORIZ): Fix values.
This is error #3.

* src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.

* src/autofit/afcjk.c (af_cjk_metrics_init_blues): Correct error #1.
Use character `|' to separate characters for reference and overshoot
values.
Improve tracing messages, synchronizing them with the latin
auto-hinter.
(af_cjk_hints_compute_blue_edges): Fix value of `is_top_right_blue'.
This is error #2.
(af_cjk_align_linked_edge): Add tracing message.

* src/autofit/afcjk.h (AF_CJK_IS_FILLED_BLUE): Removed, no longer
used.
2014-04-20 22:11:27 +02:00
..
autofit [autofit] Fix Savannah bug #42148. 2014-04-20 22:11:27 +02:00
base Make `FT_Get_SubGlyph_Info' actually work. 2014-04-17 01:24:36 +02:00
bdf Fix clang warnings. 2014-03-18 08:39:35 +01:00
bzip2 */*: Use FT_Err_Ok only. 2013-03-14 11:21:17 +01:00
cache Fix clang warnings. 2014-03-18 08:39:35 +01:00
cff Math simplifications. 2014-02-28 09:25:57 +01:00
cid Fix clang static analyzer and compiler warnings. 2014-02-08 13:55:38 +01: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 Fix clang warnings. 2014-03-18 08:39:35 +01:00
pfr Fix clang warnings. 2014-03-18 08:39:35 +01:00
psaux Fix Savannah bug #41309. 2014-01-23 08:14:53 +01:00
pshinter Fix several clang static analyzer dead store warnings. 2014-03-04 04:29:17 +01:00
psnames Fix PIC linking. 2013-12-21 08:14:25 +01:00
raster Fix clang static analyzer and compiler warnings. 2014-02-08 13:55:38 +01:00
sfnt Don't require `gzip' module for `sfnt'. 2014-04-03 05:45:38 +02:00
smooth [smooth] Fix stand-alone compilation. 2014-04-13 15:41:13 +02:00
tools [afblue.pl]: Minor improvements. 2014-04-15 16:47:05 +02:00
truetype Remove more clang analyzer warnings. 2014-03-06 14:54:22 +01:00
type1 Fix clang warnings. 2014-03-18 08:39:35 +01:00
type42 Fix Savannah bug #41309. 2014-01-23 08:14:53 +01:00
winfonts [winfnt] Fix Savannah bug #41694. 2014-02-26 18:12:36 +01:00
Jamfile Simplify header file hierarchy. 2013-11-13 08:55:46 +01:00