[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master 633fe08: [sfnt] Fix format expectation for `COLR` v1
From: |
Werner Lemberg |
Subject: |
[freetype2] master 633fe08: [sfnt] Fix format expectation for `COLR` v1 ClipList |
Date: |
Thu, 19 Aug 2021 17:36:21 -0400 (EDT) |
branch: master
commit 633fe0876486de84b421fef432b63f2e2e15d83e
Author: Dominik Röttsches <drott@chromium.org>
Commit: Werner Lemberg <wl@gnu.org>
[sfnt] Fix format expectation for `COLR` v1 ClipList
* src/sfnt/ttcolr.c (tt_face_get_color_glyph_clipbox): Change ClipList
format expectation to 1 instead of 0 to make it compliant with the
latest spec.
---
src/sfnt/ttcolr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/sfnt/ttcolr.c b/src/sfnt/ttcolr.c
index 6880712..8b31b20 100644
--- a/src/sfnt/ttcolr.c
+++ b/src/sfnt/ttcolr.c
@@ -843,7 +843,7 @@
/* Format byte used here to be able to upgrade ClipList for >16bit */
/* glyph ids; for now we can expect it to be 0. */
- if ( !( clip_list_format == 0 ) )
+ if ( !( clip_list_format == 1 ) )
return 0;
num_clip_boxes = FT_NEXT_ULONG( p );
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master 633fe08: [sfnt] Fix format expectation for `COLR` v1 ClipList,
Werner Lemberg <=