Include "internal-flt.h".
authorhanda <handa>
Wed, 15 Aug 2007 11:40:59 +0000 (11:40 +0000)
committerhanda <handa>
Wed, 15 Aug 2007 11:40:59 +0000 (11:40 +0000)
Set mdebug_flag instead of mdebug_mask.
(mfont__ft_drive_otf): Fix arg to OTF_check_features.

src/font-ft.c

index a1b24a6..2131a7c 100644 (file)
@@ -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 <fontconfig/fcfreetype.h>
@@ -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