forked from minhngoc25a/freetype2
[cff, autofit] Switch off stem darkening by default.
* src/autofit/afmodule.c (af_autofitter_init), src/cff/cffobjs.c (cff_driver_init): Do it.
This commit is contained in:
parent
ccd3188af1
commit
75722f8929
|
@ -1,3 +1,10 @@
|
|||
2015-11-11 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[cff, autofit] Switch off stem darkening by default.
|
||||
|
||||
* src/autofit/afmodule.c (af_autofitter_init), src/cff/cffobjs.c
|
||||
(cff_driver_init): Do it.
|
||||
|
||||
2015-11-10 Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
|
||||
|
||||
Allow native CFF hinter in FT_RENDER_MODE_LIGHT.
|
||||
|
|
|
@ -371,7 +371,7 @@
|
|||
#ifdef AF_CONFIG_OPTION_USE_WARPER
|
||||
module->warping = 0;
|
||||
#endif
|
||||
module->no_stem_darkening = FALSE;
|
||||
module->no_stem_darkening = TRUE;
|
||||
|
||||
module->darken_params[0] = CFF_CONFIG_OPTION_DARKENING_PARAMETER_X1;
|
||||
module->darken_params[1] = CFF_CONFIG_OPTION_DARKENING_PARAMETER_Y1;
|
||||
|
|
|
@ -1052,7 +1052,7 @@
|
|||
driver->hinting_engine = FT_CFF_HINTING_ADOBE;
|
||||
#endif
|
||||
|
||||
driver->no_stem_darkening = FALSE;
|
||||
driver->no_stem_darkening = TRUE;
|
||||
|
||||
driver->darken_params[0] = CFF_CONFIG_OPTION_DARKENING_PARAMETER_X1;
|
||||
driver->darken_params[1] = CFF_CONFIG_OPTION_DARKENING_PARAMETER_Y1;
|
||||
|
|
Loading…
Reference in New Issue