commit | 9e422b67c8f1a2e06cb934c2867e0536729793f4 | [log] [tgz] |
---|---|---|
author | Dominik Röttsches <drott@chromium.org> | Wed Dec 16 16:44:34 2020 +0200 |
committer | Werner Lemberg <wl@gnu.org> | Thu Jan 14 15:56:03 2021 +0100 |
tree | 917e1c6583091409577efb8c077f11448b161ba9 | |
parent | 08dba4dc3555cbb90c7be59a31c413c26cfba503 [diff] |
[sfnt] Add API to retrieve 'COLR' v1 root paint (#59703). * src/sfnt/ttcolr.c (BaseGlyphV1Record): New structure. (tt_face_load_colr): Handle version 1 table header. (find_base_glyph_v1_record): New auxiliary function. (tt_face_get_colr_glyph_paint): New function to find the root `FT_OpaquePaint` object for a given glyph ID. * src/sfnt/ttcolr.h: Updated.