diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2009-01-28 22:07:30 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2009-01-28 22:07:30 +0000 |
commit | ceb03fea0dd21294e5b7eb13d8bc6b94b512037e (patch) | |
tree | 8172633fc9e1983e7f7ebf857656da7c1522b745 /pango/pangocairo-fcfont.c | |
parent | c436a45f4022fb8a4ac5dccc45f0c6427f332c1f (diff) | |
download | pango-ceb03fea0dd21294e5b7eb13d8bc6b94b512037e.tar.gz |
Remove desc argument from _pango_cairo_font_private_initialize(). Replace
2009-01-09 Behdad Esfahbod <behdad@gnome.org>
* pango/pangocairo-atsuifont.c (_pango_cairo_atsui_font_new):
* pango/pangocairo-fcfont.c (_pango_cairo_fc_font_new):
* pango/pangocairo-font.c (_pango_cairo_font_private_initialize):
* pango/pangocairo-private.h:
* pango/pangocairo-win32font.c (_pango_cairo_win32_font_new):
Remove desc argument from _pango_cairo_font_private_initialize().
Replace it with gravity, the only thing from desc we actually needed.
This is in preparation for lazy loading of fonts in the pangofc fontmap.
svn path=/trunk/; revision=2803
Diffstat (limited to 'pango/pangocairo-fcfont.c')
-rw-r--r-- | pango/pangocairo-fcfont.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangocairo-fcfont.c b/pango/pangocairo-fcfont.c index 8361905e..129fa865 100644 --- a/pango/pangocairo-fcfont.c +++ b/pango/pangocairo-fcfont.c @@ -244,7 +244,7 @@ _pango_cairo_fc_font_new (PangoCairoFcFontMap *cffontmap, _pango_cairo_font_private_initialize (&cffont->cf_priv, (PangoCairoFont *) cffont, - desc, + pango_font_description_get_gravity (desc), _pango_cairo_context_get_merged_font_options (context), pango_context_get_matrix (context), &font_matrix); |