summaryrefslogtreecommitdiff
path: root/pango/pangocairo-win32font.c
diff options
context:
space:
mode:
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);
}