commit | 6260b4901c66b8f03a5f4aa95b5f3842a10db6a2 | [log] [tgz] |
---|---|---|
author | Dominik Röttsches <drott@chromium.org> | Wed Dec 16 17:06:42 2020 +0200 |
committer | Werner Lemberg <wl@gnu.org> | Thu Jan 14 15:56:04 2021 +0100 |
tree | 9d4cb984e7c422e244ce861c11611c65ca666e09 | |
parent | be06a9d002cc1dc8b2e4e416538002a53c7e944c [diff] |
[sfnt] Add 'COLR' v1 API to retrieve color layers (#59703). * src/sfnt/ttcolr.c (tt_face_get_paint_layers): New function to get the layers of a `PaintColrLayers` table in the font, using an `FT_LayerIterator` from an `FT_PaintColrLayers` object retrieved via `tt_face_get_paint`. * src/sfnt/ttcolr.h: Updated.