[cairo] Trivial patch for Win32

Tor Lillqvist tml at iki.fi
Fri Jul 22 03:52:55 PDT 2005


To current CVS:

Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo/ChangeLog,v
retrieving revision 1.761
diff -u -2 -r1.761 ChangeLog
--- ChangeLog	22 Jul 2005 09:04:59 -0000	1.761
+++ ChangeLog	22 Jul 2005 10:51:06 -0000
@@ -1,2 +1,8 @@
+2005-07-22  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.
+
 2005-07-22  Carl Worth  <cworth at cworth.org>
 
Index: src/cairo-win32-font.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-win32-font.c,v
retrieving revision 1.25
diff -u -2 -r1.25 cairo-win32-font.c
--- src/cairo-win32-font.c	21 Jul 2005 13:52:13 -0000	1.25
+++ src/cairo-win32-font.c	22 Jul 2005 10:51:06 -0000
@@ -47,4 +47,7 @@
 #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;
@@ -186,4 +189,5 @@
 {
     BOOL font_smoothing;
+    UINT smoothing_type;
 
     if (!SystemParametersInfo (SPI_GETFONTSMOOTHING, 0, &font_smoothing, 0)) {




More information about the cairo mailing list