diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | pango/pangoatsui-fontmap.c | 9 |
2 files changed, 14 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2007-06-12 Richard Hult <richard@imendio.com> + + * pango/pangoatsui-fontmap.c (pango_atsui_face_is_synthesized): + Implement is_synthesized for the ATSUI backend. + 2007-06-11 Behdad Esfahbod <behdad@gnome.org> Bug 440588 – Add pango_font_face_is_synthesized() 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 |