Al-Qurtas-Islamic-bank-The-.../src
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
..
autofit Add new `slight' auto-hinting mode. 2017-04-26 11:39:53 +02:00
base Add new `slight' auto-hinting mode. 2017-04-26 11:39:53 +02:00
bdf Improve `make multi'. 2017-03-18 07:06:49 +01:00
bzip2 Update copyright year. 2017-01-04 20:16:34 +01:00
cache Improve `make multi'. 2017-03-18 07:06:49 +01:00
cff Introduce `FT_Size_InternalRec' structure. 2017-04-22 12:48:50 +02:00
cid Introduce `FT_Size_InternalRec' structure. 2017-04-22 12:48:50 +02:00
gxvalid Improve `make multi'. 2017-03-18 07:06:49 +01:00
gzip Typos. 2017-01-24 23:56:59 -05:00
lzw Update copyright year. 2017-01-04 20:16:34 +01:00
otvalid Improve `make multi'. 2017-03-18 07:06:49 +01:00
pcf [pcf] Fix compiler warnings. 2017-03-27 07:57:24 +02:00
pfr Improve `make multi'. 2017-03-18 07:06:49 +01:00
psaux Introduce `FT_Size_InternalRec' structure. 2017-04-22 12:48:50 +02:00
pshinter Add new `slight' auto-hinting mode. 2017-04-26 11:39:53 +02:00
psnames Improve `make multi'. 2017-03-18 07:06:49 +01:00
raster Improve `make multi'. 2017-03-18 07:06:49 +01:00
sfnt Typos. 2017-04-19 23:50:29 -04:00
smooth Add new `slight' auto-hinting mode. 2017-04-26 11:39:53 +02:00
tools [ftfuzzer] Fix clang warnings. 2017-04-07 17:13:38 +02:00
truetype [truetype] Avoid reexecution of `fpgm' and `prep' in case of error. 2017-04-03 11:37:33 +02:00
type1 Introduce `FT_Size_InternalRec' structure. 2017-04-22 12:48:50 +02:00
type42 Improve `make multi'. 2017-03-18 07:06:49 +01:00
winfonts Update copyright year. 2017-01-04 20:16:34 +01:00
Jamfile Update copyright year. 2017-01-04 20:16:34 +01:00