[subset] keep features that have FeatureParams and the tag is "size"
This commit is contained in:
parent
e88fc41ef3
commit
ca418cac74
|
@ -3783,8 +3783,12 @@ struct GSUBGPOS
|
|||
// http://lists.freedesktop.org/archives/harfbuzz/2012-November/002660.html
|
||||
continue;
|
||||
|
||||
if (f.featureParams.is_null ()
|
||||
&& !f.intersects_lookup_indexes (lookup_indices)
|
||||
|
||||
if (!f.featureParams.is_null () &&
|
||||
tag == HB_TAG ('s', 'i', 'z', 'e'))
|
||||
continue;
|
||||
|
||||
if (!f.intersects_lookup_indexes (lookup_indices)
|
||||
#ifndef HB_NO_VAR
|
||||
&& !alternate_feature_indices.has (i)
|
||||
#endif
|
||||
|
|
|
@ -40,6 +40,7 @@ EXTRA_DIST += \
|
|||
expected/layout.tinos \
|
||||
expected/layout.duplicate_features \
|
||||
expected/layout.unsorted_featurelist \
|
||||
expected/layout.drop_feature \
|
||||
expected/cmap \
|
||||
expected/cmap14 \
|
||||
expected/sbix \
|
||||
|
|
|
@ -38,7 +38,8 @@ TESTS = \
|
|||
tests/layout.tinos.tests \
|
||||
tests/layout.duplicate_features.tests \
|
||||
tests/layout.unsorted_featurelist.tests \
|
||||
tests/sbix.tests \
|
||||
tests/layout.drop_feature.tests \
|
||||
tests/sbix.tests \
|
||||
tests/variable.tests \
|
||||
tests/glyph_names.tests \
|
||||
tests/math.tests \
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,10 @@
|
|||
FONTS:
|
||||
SpectralSC-ExtraLightItalic.ttf
|
||||
|
||||
PROFILES:
|
||||
default.txt
|
||||
glyph-names.txt
|
||||
notdef-outline.txt
|
||||
|
||||
SUBSETS:
|
||||
*
|
|
@ -32,6 +32,7 @@ tests = [
|
|||
'layout.tinos',
|
||||
'layout.duplicate_features',
|
||||
'layout.unsorted_featurelist',
|
||||
'layout.drop_feature',
|
||||
'cmap',
|
||||
'cmap14',
|
||||
'sbix',
|
||||
|
|
Loading…
Reference in New Issue