diff options
author | Tor Lillqvist <tml@novell.com> | 2005-09-26 09:05:14 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@novell.com> | 2005-09-26 09:05:14 +0000 |
commit | 80b2fae5f13d7eaa5bec7093becc69791ad26d51 (patch) | |
tree | 0a4d75fbcd14fc0ed0fca9cd59d571cc59d2ef52 /ChangeLog | |
parent | 4974affc3f64cb1d1f0ef270051e9415e643cfaa (diff) |
Set LOGFONT::lfHeight negative. A negative lfHeight means "em height" which is what we want, and matches how other toolkits interpret font sizes on Win32. (Positive lfHeight means "cell height".) (#4593)
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +2005-09-26 Tor Lillqvist <tml@novell.com> + + * src/cairo-win32-font.c (_win32_scaled_font_get_scaled_hfont), + (_win32_scaled_font_get_unscaled_hfont): Set LOGFONT::lfHeight + negative. A negative lfHeight means "em height" which is what we + want, and matches how other toolkits interpret font sizes on + Win32. (Positive lfHeight means "cell height".) (#4593) + 2005-09-20 T Rowley <tim.rowley@gmail.com> * src/cairo-atsui-font.c (_cairo_atsui_font_show_glyphs): |