summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2004-01-26 19:24:00 +0000
committerOwen Taylor <otaylor@src.gnome.org>2004-01-26 19:24:00 +0000
commit306761dc9a8fa45449d3ae0d7d46e170de9eee95 (patch)
treebac643159dc9bee7a36e558232daca55506f272e /pango
parent3dbcaa65747339795ae26feffeae56c9c73ac764 (diff)
downloadpango-306761dc9a8fa45449d3ae0d7d46e170de9eee95.tar.gz
Suport CFF fonts as well. (#131202, Manjunath Sripadarao)
Mon Jan 26 14:20:34 2004 Owen Taylor <otaylor@redhat.com> * pango/opentype/pango-ot-info.c (is_truetype): Suport CFF fonts as well. (#131202, Manjunath Sripadarao)
Diffstat (limited to 'pango')
-rw-r--r--pango/opentype/pango-ot-info.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pango/opentype/pango-ot-info.c b/pango/opentype/pango-ot-info.c
index 9a875459..578c95d1 100644
--- a/pango/opentype/pango-ot-info.c
+++ b/pango/opentype/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;