diff options
Diffstat (limited to 'pango/opentype/pango-ot-info.c')
-rw-r--r-- | pango/opentype/pango-ot-info.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pango/opentype/pango-ot-info.c b/pango/opentype/pango-ot-info.c index 9a0f3f09..1b6a1807 100644 --- a/pango/opentype/pango-ot-info.c +++ b/pango/opentype/pango-ot-info.c @@ -20,8 +20,7 @@ */ #include "pango-ot-private.h" -#include "fterrcompat.h" -#include FT_INTERNAL_OBJECTS_H +#include "ftglue.h" #include FT_MODULE_H static void pango_ot_info_class_init (GObjectClass *object_class); @@ -139,8 +138,7 @@ pango_ot_info_get (FT_Face face) static gboolean is_truetype (FT_Face face) { - return strcmp (FT_MODULE_CLASS (face->driver)->module_name, "truetype") == 0 || - strcmp (FT_MODULE_CLASS (face->driver)->module_name, "cff") == 0; + return FT_IS_SFNT(face); } typedef struct _GlyphInfo GlyphInfo; |