[cairo] cairo 0.5.1-head breaks mingw32 compile
J. Ali Harlow
ali at avrc.city.ac.uk
Sat Jul 16 01:50:06 PDT 2005
Mingw32 is no longer able to compile cairo 0.5.1-head because it
doesn't define TT_PRIM_CSPLINE. Trivial fix is to conditionally define
this at the top of the file in which it is used:
diff -Naurd ../cvs/cairo/src/cairo-win32-font.c ./src/cairo-win32-
font.c
--- ../cvs/cairo/src/cairo-win32-font.c 2005-07-16 07:57:33.000000000
+0100
+++ ./src/cairo-win32-font.c 2005-07-16 09:31:11.604925616 +0100
@@ -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;
--
Ali Harlow Email: ali at avrc.city.ac.uk
Senior Research Officer Tel: (020) 7040 4348
Applied Vision Research Centre Intl: +44 20 7040 4348
City University Fax: (020) 7040 5515
London Intl: +44 20 7040 5515
More information about the cairo
mailing list