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)
This commit is contained in:
parent
945e479a3a
commit
926b8f3229
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue