summaryrefslogtreecommitdiff
path: root/pango/pangocairo-win32fontmap.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2007-06-12 10:27:29 +0000
committerTor Lillqvist <tml@src.gnome.org>2007-06-12 10:27:29 +0000
commit780ab5c97ad314bb1d8def7988e602ea1977b1e1 (patch)
tree395e84f821835aae063d4b41055de50015b39563 /pango/pangocairo-win32fontmap.c
parent356746d28aaf516ea605060cef991f6e29034a66 (diff)
downloadpango-780ab5c97ad314bb1d8def7988e602ea1977b1e1.tar.gz
Add is_synthetic field.
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/pangocairo-win32font.c * pango/pangocairo-win32fontmap.c: Update for the changes to PangoCairoFontMap and PangoCairoFont. svn path=/trunk/; revision=2347
Diffstat (limited to 'pango/pangocairo-win32fontmap.c')
-rw-r--r--pango/pangocairo-win32fontmap.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/pango/pangocairo-win32fontmap.c b/pango/pangocairo-win32fontmap.c
index d3d829b7..32a11c0c 100644
--- a/pango/pangocairo-win32fontmap.c
+++ b/pango/pangocairo-win32fontmap.c
@@ -50,23 +50,11 @@ pango_cairo_win32_font_map_get_resolution (PangoCairoFontMap *cfontmap)
return cwfontmap->dpi;
}
-static PangoRenderer *
-pango_cairo_win32_font_map_get_renderer (PangoCairoFontMap *cfontmap)
-{
- PangoCairoWin32FontMap *cwfontmap = PANGO_CAIRO_WIN32_FONT_MAP (cfontmap);
-
- if (!cwfontmap->renderer)
- cwfontmap->renderer = g_object_new (PANGO_TYPE_CAIRO_RENDERER, NULL);
-
- return cwfontmap->renderer;
-}
-
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_renderer = pango_cairo_win32_font_map_get_renderer;
}
G_DEFINE_TYPE_WITH_CODE (PangoCairoWin32FontMap, pango_cairo_win32_font_map, PANGO_TYPE_WIN32_FONT_MAP,