commit | 2dd20916117e36a49b52206ceb6689eae5060c58 | [log] [tgz] |
---|---|---|
author | Werner Lemberg <wl@gnu.org> | Tue May 15 09:05:53 2018 +0200 |
committer | Werner Lemberg <wl@gnu.org> | Tue May 15 09:06:58 2018 +0200 |
tree | 354cdfe940572bd5151ab886b78a45d177c5b155 | |
parent | 06820637e2e1b6779c0157abb11a3bb4d65e1f53 [diff] |
[sfnt] If `COLR' is present, don't assume that all glyphs use it. * src/sfnt/ttcolr.c (tt_face_load_colr_layers): Return FT_Err_Ok if current glyph is not a `COLR' base glyph. * src/truetype/ttgload.c (TT_Load_Glyph): Don't allocate `color_layers' if there are no color layers.