summaryrefslogtreecommitdiff
path: root/pango/pangocairo-win32font.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2005-03-18 01:11:02 +0000
committerOwen Taylor <otaylor@src.gnome.org>2005-03-18 01:11:02 +0000
commit00f89877ebbe120e3a47faee189e1e7c056d7411 (patch)
tree83c69e7cc097f5b50a9c2a3d23a5ec64f794fc65 /pango/pangocairo-win32font.c
parent80784ff7c9a587771eec11bd55739003884df028 (diff)
downloadpango-00f89877ebbe120e3a47faee189e1e7c056d7411.tar.gz
Set win32font->logfont. (How was this working at all?)
2005-03-17 Owen Taylor <otaylor@redhat.com> * pango/pangocairo-win32font.c (_pango_cairo_win32_font_new): Set win32font->logfont. (How was this working at all?)
Diffstat (limited to 'pango/pangocairo-win32font.c')
-rw-r--r--pango/pangocairo-win32font.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pango/pangocairo-win32font.c b/pango/pangocairo-win32font.c
index 59b24ed2..ad2960a2 100644
--- a/pango/pangocairo-win32font.c
+++ b/pango/pangocairo-win32font.c
@@ -308,6 +308,11 @@ _pango_cairo_win32_font_new (PangoCairoWin32FontMap *cwfontmap,
}
else
cairo_matrix_copy (cwfont->total_matrix, cwfont->font_matrix);
+
+ pango_win32_make_matching_logfont (win32font->fontmap,
+ &face->logfont,
+ win32font->size,
+ &win32font->logfont);
return PANGO_FONT (cwfont);
}