summaryrefslogtreecommitdiff
path: root/pango/pangoxft-font.c
diff options
context:
space:
mode:
authorAlex Larsson <alexl@redhat.com>2001-11-27 19:19:53 +0000
committerAlexander Larsson <alexl@src.gnome.org>2001-11-27 19:19:53 +0000
commit02d26fc118ad513f66cf9e9ebf6de1ec3ce548ba (patch)
treef9186285c6544c351c6b0b11aa8ab9768ab5038a /pango/pangoxft-font.c
parente369baa4f65aaceb31d8aeaf322e5d1fe0869311 (diff)
downloadpango-02d26fc118ad513f66cf9e9ebf6de1ec3ce548ba.tar.gz
pango/pangoft2-private.h Take extra parameter include_size that determines
2001-11-27 Alex Larsson <alexl@redhat.com> * pango/pangoft2-private.h * pango/pangoft2-fontmap.c (_pango_ft2_font_desc_from_pattern): Take extra parameter include_size that determines if the descriptor includes the size. * pango/pangoft2.c (_pango_ft2_font_new): Include size in ft2font->description. * pango/pangoxft-private.h * pango/pangoxft-fontmap.c (_pango_xft_font_desc_from_pattern): Take extra parameter include_size that determines if the descriptor includes the size. * pango/pangoxft-font.c: Include size in xfont->description.
Diffstat (limited to 'pango/pangoxft-font.c')
-rw-r--r--pango/pangoxft-font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangoxft-font.c b/pango/pangoxft-font.c
index a5355dc5..c8392fb5 100644
--- a/pango/pangoxft-font.c
+++ b/pango/pangoxft-font.c
@@ -125,7 +125,7 @@ _pango_xft_font_new (PangoFontMap *fontmap,
xfont->font_pattern = pattern;
g_object_ref (G_OBJECT (fontmap));
- xfont->description = _pango_xft_font_desc_from_pattern (pattern);
+ xfont->description = _pango_xft_font_desc_from_pattern (pattern, TRUE);
xfont->xft_font = NULL;
_pango_xft_font_map_add (xfont->fontmap, xfont);