(mfont__ft_drive_otf): Don't call OTF_check_features
authorhanda <handa>
Thu, 16 Aug 2007 05:20:09 +0000 (05:20 +0000)
committerhanda <handa>
Thu, 16 Aug 2007 05:20:09 +0000 (05:20 +0000)
for GPOS.

src/font-ft.c

index 2131a7c..c68e1a2 100644 (file)
@@ -2512,12 +2512,8 @@ mfont__ft_drive_otf (MGlyphString *gstring, int from, int to,
       int size10, size;
       MGlyph *base = NULL, *mark = NULL;
 
-      if (OTF_check_features (otf, 0,
-                             cap->script_tag, cap->langsys_tag,
-                             cap->features[MFONT_OTT_GPOS].tags,
-                             cap->features[MFONT_OTT_GPOS].nfeatures) != 1
-         || (OTF_drive_gpos (otf, &otf_gstring, script, langsys,
-                             gpos_features) < 0))
+      if (OTF_drive_gpos (otf, &otf_gstring, script, langsys, gpos_features)
+         < 0)
        return to;
 
       u = otf->head->unitsPerEm;