From e5f75e52deefb6812d026fea887b7b998d7fab4e Mon Sep 17 00:00:00 2001 From: handa Date: Tue, 14 Jun 2005 11:08:43 +0000 Subject: [PATCH] (OTF_check_features): Treat feature tag 0 as wildcard. --- src/otfopen.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/otfopen.c b/src/otfopen.c index abd1909..b9e93fd 100644 --- a/src/otfopen.c +++ b/src/otfopen.c @@ -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) -- 1.7.10.4