commit | 0c4f47fc07991b5985ab376d90790c042b4220a7 | [log] [tgz] |
---|---|---|
author | Dominik Röttsches <drott@chromium.org> | Wed Dec 16 17:06:42 2020 +0200 |
committer | Werner Lemberg <wl@gnu.org> | Sat Jan 02 08:42:00 2021 +0100 |
tree | d4d394d73d53237e9dd840359d9cdfa060983bb5 | |
parent | f0e36dd3998536b7acf5eaf726d34008d2d2f8c9 [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.