From 395113c20099ac48fa4b838f00f8244776edb78a Mon Sep 17 00:00:00 2001 From: Richard Hult Date: Tue, 12 Jun 2007 16:59:16 +0000 Subject: [PATCH] Implement get_font_type(). 2007-06-12 Richard Hult * pango/pangocairo-atsuifontmap.c: Implement get_font_type(). svn path=/trunk/; revision=2350 --- ChangeLog | 5 +++++ pango/pangocairo-atsuifontmap.c | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 2bc34c2..12c50ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-06-12 Richard Hult + + * pango/pangocairo-atsuifontmap.c: Implement + get_font_type(). + 2007-06-12 Tor Lillqvist * pango/pangowin32-fontmap.c: Implement diff --git a/pango/pangocairo-atsuifontmap.c b/pango/pangocairo-atsuifontmap.c index 978fcfc..0c3e639 100644 --- a/pango/pangocairo-atsuifontmap.c +++ b/pango/pangocairo-atsuifontmap.c @@ -50,11 +50,18 @@ pango_cairo_atsui_font_map_get_resolution (PangoCairoFontMap *cfontmap) return cafontmap->dpi; } +static cairo_font_type_t +pango_cairo_atsui_font_map_get_font_type (PangoCairoFontMap *cfontmap) +{ + return CAIRO_FONT_TYPE_ATSUI; +} + static void cairo_font_map_iface_init (PangoCairoFontMapIface *iface) { iface->set_resolution = pango_cairo_atsui_font_map_set_resolution; iface->get_resolution = pango_cairo_atsui_font_map_get_resolution; + iface->get_font_type = pango_cairo_atsui_font_map_get_font_type; } G_DEFINE_TYPE_WITH_CODE (PangoCairoATSUIFontMap, pango_cairo_atsui_font_map, PANGO_TYPE_ATSUI_FONT_MAP, -- 2.7.4