File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6166,22 +6166,22 @@ def com_google_fonts_check_colorfont_tables(ttFont):
61666166 """Check font has the expected color font tables"""
61676167 if "COLR" in ttFont :
61686168 colr_table = ttFont ["COLR" ]
6169- if colr_table .version == 0 and "SVG" in ttFont :
6169+ if colr_table .version == 0 and "SVG " in ttFont :
61706170 yield FAIL , Message (
61716171 "drop-svg" ,
61726172 "Font has a COLR v0 table, which is already widely supported, "
61736173 "so the SVG table isn't needed."
61746174 )
61756175 return
6176- elif colr_table .version == 1 and "SVG" not in ttFont :
6176+ elif colr_table .version == 1 and "SVG " not in ttFont :
61776177 yield FAIL , Message (
61786178 "add-svg" ,
61796179 "Font has COLRv1 but no SVG table; for CORLv1, we require "
61806180 "that an SVG table is present to support environments where "
61816181 "the former is not supported yet."
61826182 )
61836183 return
6184- elif "SVG" in ttFont :
6184+ elif "SVG " in ttFont :
61856185 if "COLR" not in ttFont :
61866186 yield FAIL , Message (
61876187 "add-colr" ,
You can’t perform that action at this time.
0 commit comments