[cairo-commit] cairo ChangeLog,1.1065,1.1066

Tor Lillqvist commit at pdx.freedesktop.org
Mon Sep 26 07:48:12 PDT 2005


Committed by: tml

Update of /cvs/cairo/cairo
In directory gabe:/tmp/cvs-serv23873

Modified Files:
	ChangeLog 
Log Message:
2005-09-26  Tor Lillqvist  <tml at 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)
	(_cairo_win32_scaled_font_init_glyph_metrics): If
	GetGlyphOutlineW() fails, print error message and set metrics to
	zero. (#3927, Hans Breuer)
	(cairo_win32_scaled_font_select_font): Add detail on what API
	failed to the error messages.



Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo/ChangeLog,v
retrieving revision 1.1065
retrieving revision 1.1066
diff -u -d -r1.1065 -r1.1066
--- ChangeLog	20 Sep 2005 00:30:27 -0000	1.1065
+++ ChangeLog	26 Sep 2005 14:48:10 -0000	1.1066
@@ -1,3 +1,16 @@
+2005-09-26  Tor Lillqvist  <tml at 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)
+	(_cairo_win32_scaled_font_init_glyph_metrics): If
+	GetGlyphOutlineW() fails, print error message and set metrics to
+	zero. (#3927, Hans Breuer)
+	(cairo_win32_scaled_font_select_font): Add detail on what API
+	failed to the error messages.
+
 2005-09-19  Carl Worth  <cworth at cworth.org>
 
 	* ROADMAP: Note that the clip-all test now passes.



More information about the cairo-commit mailing list