commit | 7c151abb6903ddb9c9ed5a1c7b962819c1b2d36f | [log] [tgz] |
---|---|---|
author | Dominik Röttsches <drott@chromium.org> | Mon Jul 04 12:44:06 2022 +0300 |
committer | Werner Lemberg <wl@gnu.org> | Thu Jul 07 19:48:19 2022 +0200 |
tree | 22b52071fa1063ac07c90287ba1ea520c7f16a46 | |
parent | 8a9192f68ef0100649502bd8fe17df7f51211521 [diff] |
[sfnt] Apply variation deltas to `PaintVarSolid`. * src/sfnt/ttcolr.c (FT_PaintFormat_Internal_): New enumeration `FT_COLR_PAINTFORMAT_INTERNAL_VAR_SOLID`. (get_deltas_for_var_index_base) [TT_CONFIG_OPTION_GX_VAR_SUPPORT]: New function to retrieve an array of delta values, which will be used for most of 'COLR' v1 variation formats (in follow-up commits). (read_paint): Add `face` parameter; update caller. Handle `FT_COLR_PAINTFORMAT_INTERNAL_VAR_SOLID`.