diff options
author | Werner Lemberg <wl@gnu.org> | 2017-05-02 12:32:19 +0200 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2017-05-02 12:32:19 +0200 |
commit | ba40054c2dd9f5d3d8561de7106870ac6a920f6d (patch) | |
tree | 3395f6037193387a15bae12bcc082b3aa0fd9587 /src/smooth | |
parent | 7abf0cb758b4b470a0a0671e290669aeefbe0b90 (diff) | |
download | freetype2-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/smooth')
-rw-r--r-- | src/smooth/ftsmooth.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/smooth/ftsmooth.c b/src/smooth/ftsmooth.c index 52e61e559..435854e67 100644 --- a/src/smooth/ftsmooth.c +++ b/src/smooth/ftsmooth.c @@ -433,8 +433,7 @@ FT_Render_Mode mode, const FT_Vector* origin ) { - if ( mode == FT_RENDER_MODE_LIGHT || - mode == FT_RENDER_MODE_SLIGHT ) + if ( mode == FT_RENDER_MODE_LIGHT ) mode = FT_RENDER_MODE_NORMAL; return ft_smooth_render_generic( render, slot, mode, origin, |