commit | 54c5ad5c9215feca69614565be7ec2030ee46cfb | [log] [tgz] |
---|---|---|
author | Dominik Röttsches <drott@chromium.org> | Wed Feb 10 17:24:13 2021 |
committer | Werner Lemberg <wl@gnu.org> | Thu Feb 11 13:20:03 2021 |
tree | 06e1a336d75ca468117bafba1999c7a8df51c2b3 | |
parent | c8dede7b1c632ee7f3032546856f2f92dc3bdc6c [diff] |
[sfnt] Implement 'COLR' v1 sweep gradients. * freetype.h (FT_PaintSweepGradient): Add `FT_PaintSweepGradient` to represent a 'COLR' v1 sweep gradient. Update format. (FT_PaintFormat): Update shifted paint formats. Sync with spec. * sfnt/ttcolr.c (read_paint): Logic to parse sweep gradients. Fix struct access in radial gradient implementation.