From: handa Date: Thu, 16 Aug 2007 05:20:09 +0000 (+0000) Subject: (mfont__ft_drive_otf): Don't call OTF_check_features X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52d55f486e5606d1c31bbac74e56146b4ee4b7d7;p=m17n%2Fm17n-lib.git (mfont__ft_drive_otf): Don't call OTF_check_features for GPOS. --- diff --git a/src/font-ft.c b/src/font-ft.c index 2131a7c..c68e1a2 100644 --- a/src/font-ft.c +++ b/src/font-ft.c @@ -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;