[autofit] Report used script while hinting a glyph.

* src/autofit/afcjk.c (af_cjk_hint_edges), src/autofit/aflatin.c
(af_latin_hint_edges): Implement it.
2.6.5
Werner Lemberg 12 years ago
parent 371f5c3b9d
commit 278f64b330
  1. 7
      ChangeLog
  2. 6
      src/autofit/afcjk.c
  3. 5
      src/autofit/aflatin.c

@ -1,3 +1,10 @@
2013-08-26 Werner Lemberg <wl@gnu.org>
[autofit] Report used script while hinting a glyph.
* src/autofit/afcjk.c (af_cjk_hint_edges), src/autofit/aflatin.c
(af_latin_hint_edges): Implement it.
2013-08-26 Werner Lemberg <wl@gnu.org>
[autofit] Add support for Hebrew script.

@ -1665,9 +1665,11 @@
#endif
FT_TRACE5(( "cjk %s edge hinting (script %d)\n",
dim == AF_DIMENSION_VERT ? "horizontal" : "vertical",
hints->metrics->script_class->script ));
/* we begin by aligning all stems relative to the blue zone */
FT_TRACE5(( "cjk %s edge hinting\n",
dim == AF_DIMENSION_HORZ ? "vertical" : "horizontal" ));
if ( AF_HINTS_DO_BLUES( hints ) )
{

@ -1897,8 +1897,9 @@
#endif
FT_TRACE5(( "latin %s edge hinting\n",
dim == AF_DIMENSION_VERT ? "horizontal" : "vertical" ));
FT_TRACE5(( "latin %s edge hinting (script %d)\n",
dim == AF_DIMENSION_VERT ? "horizontal" : "vertical",
hints->metrics->script_class->script ));
/* we begin by aligning all stems relative to the blue zone */
/* if needed -- that's only for horizontal edges */

Loading…
Cancel
Save