freetype2/src/truetype
Werner Lemberg b45043c440 [sfnt, truetype] Improve handling of missing sbits.
Requested by Behdad.

Modern bitmap-only SFNTs like `NotoColorEmoji.ttf' don't contain
entries in the bitmap strike(s) for empty glyphs.  Instead, they
rely that a space glyph gets created from the font's metrics data.
This commit makes FreeType behave accordingly.

* include/freetype/fterrdef.h (FT_Err_Missing_Bitmap): New error
code.

* src/sfnt/ttsbit.c (tt_sbit_decoder_load_image): Change error codes
to make a distinction between a missing bitmap in a composite and a
simple missing bitmap.

* src/truetype/ttgload.c (TT_Load_Glyph): For a missing bitmap (in a
bitmap-only font), synthesize an empty bitmap glyph if metrics are
available.
2017-08-11 09:34:20 +02:00
..
Jamfile Update copyright year. 2017-01-04 20:16:34 +01:00
module.mk Update copyright year. 2017-01-04 20:16:34 +01:00
rules.mk Update copyright year. 2017-01-04 20:16:34 +01:00
truetype.c Improve `make multi'. 2017-03-18 07:06:49 +01:00
ttdriver.c * src/truetype/ttdriver.c (tt_size_request): Properly check `error'. 2017-04-29 06:47:14 +02:00
ttdriver.h Update copyright year. 2017-01-04 20:16:34 +01:00
tterrors.h Update copyright year. 2017-01-04 20:16:34 +01:00
ttgload.c [sfnt, truetype] Improve handling of missing sbits. 2017-08-11 09:34:20 +02:00
ttgload.h Update copyright year. 2017-01-04 20:16:34 +01:00
ttgxvar.c [base, truetype] New function `FT_Get_Var_Axis_Flags'. 2017-08-05 18:22:17 +02:00
ttgxvar.h [truetype] Store and use design coordinates also. 2017-03-12 20:46:56 +01:00
ttinterp.c [truetype] Integer overflow. 2017-08-05 18:58:34 +02:00
ttinterp.h [truetype] Always use interpreter v35 for B/W rendering (#51051). 2017-05-20 07:28:46 +02:00
ttobjs.c [truetype] Improve code comment. 2017-07-13 10:28:09 +02:00
ttobjs.h [truetype] Do linear scaling for FT_LOAD_NO_HINTING (#50470). 2017-04-26 11:40:28 +02:00
ttpic.c Update copyright year. 2017-01-04 20:16:34 +01:00
ttpic.h Update copyright year. 2017-01-04 20:16:34 +01:00
ttpload.c * src/truetype/ttpload.c (tt_face_get_location): Off-by-one typo. 2017-07-12 00:24:48 +02:00
ttpload.h Update copyright year. 2017-01-04 20:16:34 +01:00
ttsubpix.c [truetype] Do linear scaling for FT_LOAD_NO_HINTING (#50470). 2017-04-26 11:40:28 +02:00
ttsubpix.h Update copyright year. 2017-01-04 20:16:34 +01:00