diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2009-03-10 08:08:19 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2009-03-13 18:03:42 -0400 |
commit | 9305b9a9995e84ace3818a90346820ef8c47a3ce (patch) | |
tree | 8713cdaf24e1eb5c7b380c005cce45a719a222e5 /pango/pangoft2.c | |
parent | ed941ddf131cbdd8f5e1e1efabd6e92c37010735 (diff) | |
download | pango-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/pangoft2.c')
-rw-r--r-- | pango/pangoft2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/pangoft2.c b/pango/pangoft2.c index d13dc694..224f6a0c 100644 --- a/pango/pangoft2.c +++ b/pango/pangoft2.c @@ -73,6 +73,7 @@ _pango_ft2_font_new (PangoFT2FontMap *ft2fontmap, ft2font = (PangoFT2Font *)g_object_new (PANGO_TYPE_FT2_FONT, "pattern", pattern, + "fontmap", fontmap, NULL); if (FcPatternGetDouble (pattern, FC_PIXEL_SIZE, 0, &d) == FcResultMatch) |