freetype2/src/base
Werner Lemberg 5aa6716a5e Add new `slight' auto-hinting mode.
This mode uses fractional advance widths and doesn't scale glyphs
horizontally, only applying vertical scaling and hinting.

At the same time, the behaviour of the `light' auto-hinter gets
restored for backwards compatibility: Both vertical and horizontal
scaling is again based on rounded metrics values (this was changed
in a commit from 2017-03-30 as a side effect).  To be more precise,
the behaviour is restored for TrueType fonts only; for other font
formats like Type 1, this is a new feature of the `light' hinting
mode.

* include/freetype/freetype.h (FT_LOAD_TARGET_SLIGHT): New macro.
(FT_RENDER_MODE_SLIGHT): New render mode.

* include/freetype/internal/ftobjs.h (FT_Size_InternalRec): Add
`autohint_mode' and `autohint_metrics' fields.

* src/autofit/afcjk.c (af_cjk_hints_init), src/autofit/aflatin.c
(af_latin_hints_init), src/autofit/aflatin2 (af_latin2_hints_init):
Updated.

* src/autofit/afloader.c (af_loader_embolden_glyph_in_slot): Use
`autohint_metrics'.
(af_loader_load_glyph): s/internal/slot_internal/.
Initialize `autohint_metrics' and `autohint_mode' depending on
current auto-hint mode.
Use `autohint_metrics'.
Updated.

* src/base/ftadvanc.c (LOAD_ADVANCE_FAST_CHECK): Updated.

* src/base/ftobjs.c (FT_Load_Glyph): Updated.
(FT_New_Size): Allocate `internal' object.

* src/pshinter/pshalgo.c (ps_hints_apply): Updated.

* src/smooth/ftsmooth.c (ft_smooth_render): Updated.
2017-04-26 11:39:53 +02:00
..
Jamfile Update copyright year. 2017-01-04 20:16:34 +01:00
basepic.c Update copyright year. 2017-01-04 20:16:34 +01:00
basepic.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftadvanc.c Add new `slight' auto-hinting mode. 2017-04-26 11:39:53 +02:00
ftapi.c Update copyright year. 2017-01-04 20:16:34 +01:00
ftbase.c Improve `make multi'. 2017-03-18 07:06:49 +01:00
ftbase.h Update copyright year. 2017-01-04 20:16:34 +01:00
ftbbox.c Update copyright year. 2017-01-04 20:16:34 +01:00
ftbdf.c Update copyright year. 2017-01-04 20:16:34 +01:00
ftbitmap.c Update copyright year. 2017-01-04 20:16:34 +01:00
ftcalc.c Update copyright year. 2017-01-04 20:16:34 +01:00
ftcid.c Update copyright year. 2017-01-04 20:16:34 +01:00
ftdbgmem.c Update copyright year. 2017-01-04 20:16:34 +01:00
ftdebug.c Update copyright year. 2017-01-04 20:16:34 +01:00
ftfntfmt.c Update copyright year. 2017-01-04 20:16:34 +01:00
ftfstype.c Update copyright year. 2017-01-04 20:16:34 +01:00
ftgasp.c Update copyright year. 2017-01-04 20:16:34 +01:00
ftgloadr.c Update copyright year. 2017-01-04 20:16:34 +01:00
ftglyph.c Update copyright year. 2017-01-04 20:16:34 +01:00
ftgxval.c Typos. 2017-01-19 23:01:44 -05:00
fthash.c * src/base/fthash.c: Include FT_INTERNAL_MEMORY_H. 2016-02-14 20:48:59 +01:00
ftinit.c [base] Add `FT_Set_Default_Properties' (#49187). 2017-01-23 12:53:18 +01:00
ftlcdfil.c Add face property for LCD filter weights. 2017-02-16 20:45:45 +01:00
ftmac.c Improve `make multi'. 2017-03-18 07:06:49 +01:00
ftmm.c Make MM fonts work (again). 2017-03-23 12:41:30 +01:00
ftobjs.c Add new `slight' auto-hinting mode. 2017-04-26 11:39:53 +02:00
ftotval.c Update copyright year. 2017-01-04 20:16:34 +01:00
ftoutln.c Update copyright year. 2017-01-04 20:16:34 +01:00
ftpatent.c Update copyright year. 2017-01-04 20:16:34 +01:00
ftpfr.c Update copyright year. 2017-01-04 20:16:34 +01:00
ftpic.c Update copyright year. 2017-01-04 20:16:34 +01:00
ftrfork.c Update copyright year. 2017-01-04 20:16:34 +01:00
ftsnames.c `make multi' fixes; compiler warnings. 2017-03-17 07:52:30 +01:00
ftstream.c Update copyright year. 2017-01-04 20:16:34 +01:00
ftstroke.c Update copyright year. 2017-01-04 20:16:34 +01:00
ftsynth.c Typos. 2017-01-24 23:56:59 -05:00
ftsystem.c Update copyright year. 2017-01-04 20:16:34 +01:00
fttrigon.c Update copyright year. 2017-01-04 20:16:34 +01:00
fttype1.c Update copyright year. 2017-01-04 20:16:34 +01:00
ftutil.c Update copyright year. 2017-01-04 20:16:34 +01:00
ftwinfnt.c Update copyright year. 2017-01-04 20:16:34 +01:00
md5.c * src/base/md5.c: Updated to recent version. 2016-06-16 06:17:54 +02:00
md5.h * src/base/md5.c, src/base/md5.h: Updated to recent version. 2013-10-22 01:10:10 +02:00
rules.mk Update copyright year. 2017-01-04 20:16:34 +01:00