[cairo-commit] cairo/src cairo-win32-font.c,1.25,1.26

Owen Taylor commit at pdx.freedesktop.org
Fri Jul 22 07:15:59 PDT 2005


Committed by: otaylor

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv9269/src

Modified Files:
	cairo-win32-font.c 
Log Message:
2005-07-22  Owen Taylor  <otaylor at redhat.com>

        Patch from Tor Lillqvist  <tml at novell.com>

        * src/cairo-win32-font.c: Define TT_PRIM_CSPLINE if it wasn't in
        the headers.
        (_get_system_quality): Add missing variable smoothing_type.


Index: cairo-win32-font.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-win32-font.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- cairo-win32-font.c	21 Jul 2005 13:52:13 -0000	1.25
+++ cairo-win32-font.c	22 Jul 2005 14:15:57 -0000	1.26
@@ -46,6 +46,9 @@
 #ifndef CLEARTYPE_QUALITY
 #define CLEARTYPE_QUALITY 5
 #endif
+#ifndef TT_PRIM_CSPLINE
+#define TT_PRIM_CSPLINE 3
+#endif
 
 const cairo_scaled_font_backend_t cairo_win32_scaled_font_backend;
 
@@ -185,6 +188,7 @@
 _get_system_quality (void)
 {
     BOOL font_smoothing;
+    UINT smoothing_type;
 
     if (!SystemParametersInfo (SPI_GETFONTSMOOTHING, 0, &font_smoothing, 0)) {
 	_cairo_win32_print_gdi_error ("_get_system_quality");




More information about the cairo-commit mailing list