2007-06-12 Tor Lillqvist <tml@novell.com>
* pango/pangowin32-fontmap.c: Implement
PangoCairoWin32FontMap::get_font_type().
svn path=/trunk/; revision=2349
2007-06-12 Tor Lillqvist <tml@novell.com>
+ * pango/pangowin32-fontmap.c: Implement
+ PangoCairoWin32FontMap::get_font_type().
+
+2007-06-12 Tor Lillqvist <tml@novell.com>
+
* pango/pangowin32-private.h (struct PangoWin32Face): Add
is_synthetic field.
- * pango/pangowin32-fontmap.c: Implement is_synthesized.
+ * pango/pangowin32-fontmap.c: Implement
+ PangoWin32Face::is_synthesized().
* pango/pangocairo-win32font.c
* pango/pangocairo-win32fontmap.c: Update for the changes to
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,