summaryrefslogtreecommitdiff
path: root/src/pshinter
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2017-05-02 12:32:19 +0200
committerWerner Lemberg <wl@gnu.org>2017-05-02 12:32:19 +0200
commitba40054c2dd9f5d3d8561de7106870ac6a920f6d (patch)
tree3395f6037193387a15bae12bcc082b3aa0fd9587 /src/pshinter
parent7abf0cb758b4b470a0a0671e290669aeefbe0b90 (diff)
downloadfreetype2-ba40054c2dd9f5d3d8561de7106870ac6a920f6d.tar.gz
[autofit] Remove `slight' auto-hint mode again.
A poll on freetype-devel favoured changes directly applied to `light'. * include/freetype/freetype.h (FT_LOAD_TARGET_SLIGHT, FT_RENDER_MODE_SLIGHT): Removed. * src/autofit/afcjk.c (af_cjk_hints_init), src/autofit/aflatin.c (af_latin_hints_init), src/autofit/aflatin2.c (af_latin2_hints_init): Revert change from 2017-04-22. * src/autofit/afloader.c (af_loader_load_glyph) Remove references to FT_RENDER_MODE_SLIGHT. [AF_CONFIG_OPTION_TT_SIZE_METRICS]: Enable TrueType-like metrics unconditionally. * src/base/ftadvanc.c (LOAD_ADVANCE_FAST_CHECK): Revert change from 2017-04-22. * src/base/ftobjs.c (FT_Load_Glyph): Revert change from 2017-04-22. * src/pshinter/pshalgo.c (ps_hints_apply): Revert change from 2017-04-22. * src/smooth/ftsmooth.c (ft_smooth_render): Revert change from 2017-04-22. * docs/CHANGES: Updated.
Diffstat (limited to 'src/pshinter')
-rw-r--r--src/pshinter/pshalgo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pshinter/pshalgo.c b/src/pshinter/pshalgo.c
index 27cb229eb..9ad1a3a02 100644
--- a/src/pshinter/pshalgo.c
+++ b/src/pshinter/pshalgo.c
@@ -2149,8 +2149,7 @@
glyph->do_vert_snapping = FT_BOOL( hint_mode == FT_RENDER_MODE_MONO ||
hint_mode == FT_RENDER_MODE_LCD_V );
- glyph->do_stem_adjust = FT_BOOL( hint_mode != FT_RENDER_MODE_LIGHT &&
- hint_mode != FT_RENDER_MODE_SLIGHT );
+ glyph->do_stem_adjust = FT_BOOL( hint_mode != FT_RENDER_MODE_LIGHT );
for ( dimension = 0; dimension < 2; dimension++ )
{