summaryrefslogtreecommitdiff
path: root/pango/pangocairo-fcfont.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-03-10 08:08:19 -0400
committerBehdad Esfahbod <behdad@behdad.org>2009-03-13 18:03:42 -0400
commit9305b9a9995e84ace3818a90346820ef8c47a3ce (patch)
tree8713cdaf24e1eb5c7b380c005cce45a719a222e5 /pango/pangocairo-fcfont.c
parented941ddf131cbdd8f5e1e1efabd6e92c37010735 (diff)
downloadpango-9305b9a9995e84ace3818a90346820ef8c47a3ce.tar.gz
[pangofc] Add a "fontmap" property to PangoFcFont
Gecko uses its own PangoFcFontMap subclass with its own PangoFontSet. Previously we were setting font->fontmap in our own private PangoFcFontSet. Now it's up to the PangoFcFont subclass to set it when creating the new font object. Also adds the following backend-public symbol: pango_fc_font_map_find_decoder()
Diffstat (limited to 'pango/pangocairo-fcfont.c')
-rw-r--r--pango/pangocairo-fcfont.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/pangocairo-fcfont.c b/pango/pangocairo-fcfont.c
index 3039f9ff..3ac166e6 100644
--- a/pango/pangocairo-fcfont.c
+++ b/pango/pangocairo-fcfont.c
@@ -223,6 +223,7 @@ _pango_cairo_fc_font_new (PangoCairoFcFontMap *cffontmap,
cffont = g_object_new (PANGO_TYPE_CAIRO_FC_FONT,
"pattern", pattern,
+ "fontmap", cffontmap,
NULL);
size = get_font_size (pattern) /