From: handa Date: Mon, 5 Apr 2010 14:21:50 +0000 (+0000) Subject: (ft_check_cap_otf): Fix conditions to call X-Git-Tag: REL-1-6-1~15 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=e3151f68887586cf64de74f946a6b01a4fa03442;p=m17n%2Fm17n-lib.git (ft_check_cap_otf): Fix conditions to call OTF_check_features. --- 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,