From: handa Date: Wed, 15 Aug 2007 11:40:59 +0000 (+0000) Subject: Include "internal-flt.h". X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=9d0f429db80735df4cf760524e4e81ae68771224;p=m17n%2Fm17n-lib.git Include "internal-flt.h". Set mdebug_flag instead of mdebug_mask. (mfont__ft_drive_otf): Fix arg to OTF_check_features. --- diff --git a/src/font-ft.c b/src/font-ft.c index a1b24a6..2131a7c 100644 --- a/src/font-ft.c +++ b/src/font-ft.c @@ -37,6 +37,7 @@ #include "plist.h" #include "symbol.h" #include "language.h" +#include "internal-flt.h" #include "internal-gui.h" #include "font.h" #include "face.h" @@ -47,7 +48,7 @@ #include FT_BDF_H #endif -static int mdebug_mask = MDEBUG_FONT; +static int mdebug_flag = MDEBUG_FONT; #ifdef HAVE_FONTCONFIG #include @@ -2511,7 +2512,7 @@ mfont__ft_drive_otf (MGlyphString *gstring, int from, int to, int size10, size; MGlyph *base = NULL, *mark = NULL; - if (OTF_check_features (otf, 1, + 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