summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.pre-1-105
-rw-r--r--pango/pangocairo-win32font.c5
3 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3ca84400..f28e468f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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?)
+
2005-03-15 Owen Taylor <otaylor@redhat.com>
* docs/tmpl/main.sgml (pango_unichar_direction): Fix
diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10
index 3ca84400..f28e468f 100644
--- a/ChangeLog.pre-1-10
+++ b/ChangeLog.pre-1-10
@@ -1,3 +1,8 @@
+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?)
+
2005-03-15 Owen Taylor <otaylor@redhat.com>
* docs/tmpl/main.sgml (pango_unichar_direction): Fix
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);
}