[autofit] Properly copy scaler flags to script metrics object.
Without this patch, only the dummy and cjk autohinter modules get them (since they copy the whole scaler object). * src/autofit/aflatin.c (af_latin_metrics_scale), src/autofit/aflatin2.c (af_latin2_metrics_scale): Implement it.
This commit is contained in:
parent
0c5789f9c2
commit
8be32d2f4a
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2012-03-28 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[autofit] Properly copy scaler flags to script metrics object.
|
||||
|
||||
Without this patch, only the dummy and cjk autohinter modules get
|
||||
them (since they copy the whole scaler object).
|
||||
|
||||
* src/autofit/aflatin.c (af_latin_metrics_scale),
|
||||
src/autofit/aflatin2.c (af_latin2_metrics_scale): Implement it.
|
||||
|
||||
2012-03-22 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||
|
||||
[bdflib] Remove redundant macro.
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/* */
|
||||
/* Auto-fitter hinting routines for latin script (body). */
|
||||
/* */
|
||||
/* Copyright 2003-2011 by */
|
||||
/* Copyright 2003-2012 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
|
@ -705,6 +705,7 @@
|
|||
{
|
||||
metrics->root.scaler.render_mode = scaler->render_mode;
|
||||
metrics->root.scaler.face = scaler->face;
|
||||
metrics->root.scaler.flags = scaler->flags;
|
||||
|
||||
af_latin_metrics_scale_dim( metrics, scaler, AF_DIMENSION_HORZ );
|
||||
af_latin_metrics_scale_dim( metrics, scaler, AF_DIMENSION_VERT );
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/* */
|
||||
/* Auto-fitter hinting routines for latin script (body). */
|
||||
/* */
|
||||
/* Copyright 2003-2011 by */
|
||||
/* Copyright 2003-2012 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
|
@ -658,6 +658,7 @@
|
|||
{
|
||||
metrics->root.scaler.render_mode = scaler->render_mode;
|
||||
metrics->root.scaler.face = scaler->face;
|
||||
metrics->root.scaler.flags = scaler->flags;
|
||||
|
||||
af_latin2_metrics_scale_dim( metrics, scaler, AF_DIMENSION_HORZ );
|
||||
af_latin2_metrics_scale_dim( metrics, scaler, AF_DIMENSION_VERT );
|
||||
|
|
Loading…
Reference in New Issue