tests: Fix up test font naming

The entry for the family name in the name table has nameID=1, not
nameID=0, so we were relying on the filename to be just right.
Oops.
This commit is contained in:
Matthias Clasen
2024-01-14 22:40:42 -05:00
parent 3d7ff44dc5
commit 690381672b
4 changed files with 2 additions and 2 deletions

View File

@@ -204,7 +204,7 @@
</CPAL>
<name>
<namerecord nameID="0" platformID="1" platEncID="0" langID="0x0" unicode="True">
<namerecord nameID="1" platformID="1" platEncID="0" langID="0x0" unicode="True">
text-mixed-color-colrv1
</namerecord>
</name>

View File

@@ -195,7 +195,7 @@
</CPAL>
<name>
<namerecord nameID="0" platformID="1" platEncID="0" langID="0x0" unicode="True">
<namerecord nameID="1" platformID="1" platEncID="0" langID="0x0" unicode="True">
text-mixed-color
</namerecord>
</name>