shithub: freetype+ttf2subf

Download patch

ref: fed5521016227bf8cc4475f66450a9963568d162
parent: e40ae7569aa4ef591f66ff9066df2f91de75bb77
author: Werner Lemberg <wl@gnu.org>
date: Mon Aug 9 15:27:34 EDT 2021

* src/sfnt/ttcolr.c (tt_face_get_color_glyph_clipbox): Minor fix.

git/fs: mount .git/fs: mount/attach disallowed
--- a/src/sfnt/ttcolr.c
+++ b/src/sfnt/ttcolr.c
@@ -863,7 +863,7 @@
 
         format = FT_NEXT_BYTE( p1 );
 
-        if ( format < 0 || format > 1 )
+        if ( format > 1 )
           return 0;
 
         /* `face->root.size->metrics.x_scale` and `y_scale` are factors   */