From 926b8f322989298e43c8bac85f23e3525470a669 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Mon, 26 Jan 2004 19:23:35 +0000 Subject: [PATCH] Suport CFF fonts as well. (#131202, Manjunath Sripadarao) Mon Jan 26 14:20:34 2004 Owen Taylor * pango/opentype/pango-ot-info.c (is_truetype): Suport CFF fonts as well. (#131202, Manjunath Sripadarao) --- src/pango-ot-info.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pango-ot-info.c b/src/pango-ot-info.c index 9a8754599..578c95d1a 100644 --- a/src/pango-ot-info.c +++ b/src/pango-ot-info.c @@ -137,7 +137,8 @@ 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; + return strcmp (FT_MODULE_CLASS (face->driver)->module_name, "truetype") == 0 || + strcmp (FT_MODULE_CLASS (face->driver)->module_name, "cff") == 0; } typedef struct _GlyphInfo GlyphInfo;