summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--pango/pangocairo-atsuifontmap.c7
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2bc34c24..12c50ef0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-06-12 Richard Hult <richard@imendio.com>
+
+ * pango/pangocairo-atsuifontmap.c: Implement
+ get_font_type().
+
2007-06-12 Tor Lillqvist <tml@novell.com>
* pango/pangowin32-fontmap.c: Implement
diff --git a/pango/pangocairo-atsuifontmap.c b/pango/pangocairo-atsuifontmap.c
index 978fcfcf..0c3e6390 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,