(OTF_check_features): Treat feature tag 0 as wildcard.
authorhanda <handa>
Tue, 14 Jun 2005 11:08:43 +0000 (11:08 +0000)
committerhanda <handa>
Tue, 14 Jun 2005 11:08:43 +0000 (11:08 +0000)
src/otfopen.c

index abd1909..b9e93fd 100644 (file)
@@ -2956,6 +2956,8 @@ OTF_check_features (OTF *otf, int gsubp,
     {
       OTF_Tag feature = features[j];
 
+      if (feature == 0)
+       continue;
       for (i = 0; i < LangSys->FeatureCount; i++)
        if (feature_list->Feature[LangSys->FeatureIndex[i]].FeatureTag
            == feature)