diff options
author | Richard Hult <richard@imendio.com> | 2007-06-11 23:12:09 +0000 |
---|---|---|
committer | Richard Hult <rhult@src.gnome.org> | 2007-06-11 23:12:09 +0000 |
commit | 238cd14f991b00a9499e1bd4b6a1d9a27113e16d (patch) | |
tree | a5f77652519db17dcd8b528ef197c9745c38b278 /pango | |
parent | 170c2994edd9537000790e5fe989030af35ce3c5 (diff) | |
download | pango-238cd14f991b00a9499e1bd4b6a1d9a27113e16d.tar.gz |
Implement is_synthesized for the ATSUI backend.
2007-06-12 Richard Hult <richard@imendio.com>
* pango/pangoatsui-fontmap.c (pango_atsui_face_is_synthesized):
Implement is_synthesized for the ATSUI backend.
svn path=/trunk/; revision=2343
Diffstat (limited to 'pango')
-rw-r--r-- | pango/pangoatsui-fontmap.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pango/pangoatsui-fontmap.c b/pango/pangoatsui-fontmap.c index ee153074..85108641 100644 --- a/pango/pangoatsui-fontmap.c +++ b/pango/pangoatsui-fontmap.c @@ -351,6 +351,14 @@ pango_atsui_face_finalize (GObject *object) G_OBJECT_CLASS (pango_atsui_face_parent_class)->finalize (object); } +static gboolean +pango_atsui_face_is_synthesized (PangoFontFace *face) +{ + PangoATSUIFace *atsuiface = PANGO_ATSUI_FACE (face); + + return atsuiface->synthetic_italic; +} + static void pango_atsui_face_class_init (PangoFontFaceClass *class) { @@ -363,6 +371,7 @@ pango_atsui_face_class_init (PangoFontFaceClass *class) class->describe = pango_atsui_face_describe; class->get_face_name = pango_atsui_face_get_face_name; class->list_sizes = pango_atsui_face_list_sizes; + class->is_synthesized = pango_atsui_face_is_synthesized; } GType |