freetype/src/sfnt
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
pngshim.c Improve `make multi'. 2017-03-18 07:06:49 +01:00
pngshim.h Update copyright year. 2017-01-04 20:16:34 +01:00
rules.mk Update copyright year. 2017-01-04 20:16:34 +01:00
sfdriver.c `make multi' fixes; compiler warnings. 2017-03-17 07:52:30 +01:00
sfdriver.h Update copyright year. 2017-01-04 20:16:34 +01:00
sferrors.h Update copyright year. 2017-01-04 20:16:34 +01:00
sfnt.c Improve `make multi'. 2017-03-18 07:06:49 +01:00
sfntpic.c Update copyright year. 2017-01-04 20:16:34 +01:00
sfntpic.h Update copyright year. 2017-01-04 20:16:34 +01:00
sfobjs.c [sfnt, truetype] Minor adjustments for OpenType 1.8.2. 2017-08-01 08:24:51 +02:00
sfobjs.h Update copyright year. 2017-01-04 20:16:34 +01:00
ttbdf.c Improve `make multi'. 2017-03-18 07:06:49 +01:00
ttbdf.h Update copyright year. 2017-01-04 20:16:34 +01:00
ttcmap.c * src/sfnt/ttcmap.c (tt_cmap_unicode_class_rec): Fix warning. 2017-07-05 23:07:01 +02:00
ttcmap.h [sfnt] Synthesize a Unicode charmap if one is missing. 2017-06-21 22:52:37 -04:00
ttcmapc.h Update copyright year. 2017-01-04 20:16:34 +01:00
ttkern.c [sfnt] Minor improvement for handling kern tables. 2017-03-27 09:19:14 +02:00
ttkern.h Update copyright year. 2017-01-04 20:16:34 +01:00
ttload.c Typos. 2017-04-19 23:50:29 -04:00
ttload.h Update copyright year. 2017-01-04 20:16:34 +01:00
ttmtx.c ftsnames.h, ttnameid.h, tttables.h: Revise documentation. 2017-01-17 12:39:53 +01:00
ttmtx.h Update copyright year. 2017-01-04 20:16:34 +01:00
ttpost.c * src/sftnt/ttpost.c (format): Use otspec-compliant versions. 2017-08-08 21:42:37 -04:00
ttpost.h Update copyright year. 2017-01-04 20:16:34 +01:00
ttsbit.c [sfnt, truetype] Improve handling of missing sbits. 2017-08-11 09:34:20 +02:00
ttsbit.h Update copyright year. 2017-01-04 20:16:34 +01:00