diff options
author | Tor Lillqvist <tml@novell.com> | 2007-06-12 11:47:43 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2007-06-12 11:47:43 +0000 |
commit | 10cb08fc0e8d7b9e8ef0bb5109541a660bd54e44 (patch) | |
tree | 11a60237266ef6952eb3e4a6234c40f63b934c34 /pango/pangocairo-win32fontmap.c | |
parent | 9856c9f1227bbcee76a0e28486af64ce1d6ffba1 (diff) | |
download | pango-10cb08fc0e8d7b9e8ef0bb5109541a660bd54e44.tar.gz |
Implement PangoCairoWin32FontMap::get_font_type().
2007-06-12 Tor Lillqvist <tml@novell.com>
* pango/pangowin32-fontmap.c: Implement
PangoCairoWin32FontMap::get_font_type().
svn path=/trunk/; revision=2349
Diffstat (limited to 'pango/pangocairo-win32fontmap.c')
-rw-r--r-- | pango/pangocairo-win32fontmap.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pango/pangocairo-win32fontmap.c b/pango/pangocairo-win32fontmap.c index 32a11c0c..6d097df3 100644 --- a/pango/pangocairo-win32fontmap.c +++ b/pango/pangocairo-win32fontmap.c @@ -50,11 +50,18 @@ pango_cairo_win32_font_map_get_resolution (PangoCairoFontMap *cfontmap) return cwfontmap->dpi; } +static cairo_font_type_t +pango_cairo_win32_font_map_get_font_type (PangoCairoFontMap *cfontmap) +{ + return CAIRO_FONT_TYPE_WIN32; +} + static void cairo_font_map_iface_init (PangoCairoFontMapIface *iface) { iface->set_resolution = pango_cairo_win32_font_map_set_resolution; iface->get_resolution = pango_cairo_win32_font_map_get_resolution; + iface->get_font_type = pango_cairo_win32_font_map_get_font_type; } G_DEFINE_TYPE_WITH_CODE (PangoCairoWin32FontMap, pango_cairo_win32_font_map, PANGO_TYPE_WIN32_FONT_MAP, |