[subset] make glyph-names option match fonttools behavior

Don't encode psNames that are contained in standard glyph names set
This commit is contained in:
Qunxin Liu authored and Behdad Esfahbod committed 2021-08-20 01:30:23 -06:00
1 parent 829b0f3353
commit 34e0b28fae
8 files changed
+32 -4

No files matched your search

+1
View File
@@ -41,6 +41,7 @@ EXTRA_DIST += \
expected/colr_with_components \
expected/cbdt \
expected/variable \
expected/glyph_names \
fonts \
profiles \
$(NULL)
+1
View File
@@ -33,6 +33,7 @@ TESTS = \
tests/layout.tests \
tests/sbix.tests \
tests/variable.tests \
tests/glyph_names.tests \
$(NULL)
# TODO: re-enable once colrv1 subsetting is stabilized.
Binary file not shown.
+9
View File
@@ -0,0 +1,9 @@
FONTS:
Ubuntu-Regular.ttf
PROFILES:
glyph-names.txt
SUBSETS:
U+0x0,U+0x8,U+0x9,U+0x1d,U+0x20,U+0xb7
*
+1
View File
@@ -36,6 +36,7 @@ tests = [
'colr_with_components',
'cbdt',
'variable',
'glyph_names',
]
repack_tests = [