From e3151f68887586cf64de74f946a6b01a4fa03442 Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 5 Apr 2010 14:21:50 +0000 Subject: [PATCH] (ft_check_cap_otf): Fix conditions to call OTF_check_features. --- src/font-ft.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/font-ft.c b/src/font-ft.c index 91c41b2..f36f110 100644 --- a/src/font-ft.c +++ b/src/font-ft.c @@ -1058,7 +1058,6 @@ ft_check_cap_otf (MFontFT *ft_info, MFontCapability *cap, FT_Face ft_face) } } if (cap->features[MFONT_OTT_GSUB].nfeatures - && cap->features[MFONT_OTT_GSUB].tags[0] && (OTF_check_features (ft_info->otf, 1, cap->script_tag, cap->langsys_tag, @@ -1066,7 +1065,6 @@ ft_check_cap_otf (MFontFT *ft_info, MFontCapability *cap, FT_Face ft_face) cap->features[MFONT_OTT_GSUB].nfeatures) != 1)) return -1; if (cap->features[MFONT_OTT_GPOS].nfeatures - && cap->features[MFONT_OTT_GPOS].tags[0] && (OTF_check_features (ft_info->otf, 0, cap->script_tag, cap->langsys_tag, -- 1.7.10.4