freetype2/src
Chris Liddell f6be92767d [truetype] Fix incremental metrics (#59503).
* src/truetype/ttgload.c (tt_get_metrics, load_truetype_glyph):
Previously, the code would populate the phantom points before
calling the `get_glyph_metrics` callback.  For formats like PCL XL
format 1, class 2 downloaded fonts (where metrics are removed from
the TTF header), this causes problems when the hinting program uses
the phantom points (misplaced and distorted glyphs) due to the
metrics being unset (all zeros).
(tt_get_metrics_incr_overrides): Renamed to...
(tt_get_metrics_incremental): ... this.  Updated caller

* include/freetype/ftincrem.h: Update the documentation to make it
clearer that `get_glyph_metrics` is to retrieve metrics from a
non-standard source, but *not* for the purpose of imposing custom
metrics.
2020-12-16 06:08:54 +01:00
..
autofit * src/*: More fixes for using a '\n' in `FT_TRACE` and `FT_ERROR`. 2020-12-07 10:29:24 +01:00
base */*: s/FT_LOGGING/FT_DEBUG_LOGGING/. 2020-12-07 10:27:42 +01:00
bdf * src/bdf/bdflib.c: Fix `-Wformat` warning. 2020-12-05 09:43:45 +01:00
bzip2 Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
cache Fix `-Wformat' compiler warnings. 2020-07-28 07:33:40 +02:00
cff * src/*: Don't use more than one '\n' in `FT_TRACE` and `FT_ERROR`. 2020-12-05 09:43:45 +01:00
cid * src/*: Don't use more than one '\n' in `FT_TRACE` and `FT_ERROR`. 2020-12-05 09:43:45 +01:00
dlg */*: s/FT_LOGGING/FT_DEBUG_LOGGING/. 2020-12-07 10:27:42 +01:00
gxvalid * src/*: Don't use more than one '\n' in `FT_TRACE` and `FT_ERROR`. 2020-12-05 09:43:45 +01:00
gzip Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
lzw [build] Really fix multi and C++ builds. 2020-07-07 06:51:09 +02:00
otvalid * src/*: More fixes for using a '\n' in `FT_TRACE` and `FT_ERROR`. 2020-12-07 10:29:24 +01:00
pcf * src/*: Don't use more than one '\n' in `FT_TRACE` and `FT_ERROR`. 2020-12-05 09:43:45 +01:00
pfr Fix `-Wformat' compiler warnings. 2020-07-28 07:33:40 +02:00
psaux * src/*: More fixes for using a '\n' in `FT_TRACE` and `FT_ERROR`. 2020-12-07 10:29:24 +01:00
pshinter Fix `-Wformat' compiler warnings. 2020-07-28 07:33:40 +02:00
psnames Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
raster Document changes to last release. 2020-10-10 12:48:18 +02:00
sfnt * src/*: More fixes for using a '\n' in `FT_TRACE` and `FT_ERROR`. 2020-12-07 10:29:24 +01:00
smooth [smooth] Don't set target in direct mode. 2020-08-28 23:08:42 -04:00
tools * src/tools/chktrcmp.py (trace_use_pat): Update to current use. 2020-12-01 08:48:28 +01:00
truetype [truetype] Fix incremental metrics (#59503). 2020-12-16 06:08:54 +01:00
type1 [cff,cid,type1] Demote old engine for lack of CFF2. 2020-11-20 15:24:42 -05:00
type42 [type42] Pacify static analysis tools (#59682). 2020-12-14 16:11:06 +01:00
winfonts Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00