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/pangofc-fontmap.h | |
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/pangofc-fontmap.h')
-rw-r--r-- | pango/pangofc-fontmap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pango/pangofc-fontmap.h b/pango/pangofc-fontmap.h index d3f113a9..8d496eb2 100644 --- a/pango/pangofc-fontmap.h +++ b/pango/pangofc-fontmap.h @@ -213,6 +213,8 @@ void pango_fc_font_map_add_decoder_find_func (PangoFcFontMap *fcfontmap, PangoFcDecoderFindFunc findfunc, gpointer user_data, GDestroyNotify dnotify); +PangoFcDecoder *pango_fc_font_map_find_decoder (PangoFcFontMap *fcfontmap, + FcPattern *pattern); PangoFontDescription *pango_fc_font_description_from_pattern (FcPattern *pattern, gboolean include_size); |