From 52d55f486e5606d1c31bbac74e56146b4ee4b7d7 Mon Sep 17 00:00:00 2001 From: handa Date: Thu, 16 Aug 2007 05:20:09 +0000 Subject: [PATCH] (mfont__ft_drive_otf): Don't call OTF_check_features for GPOS. --- src/font-ft.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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; -- 1.7.10.4