diff --git a/gfx/cairo/README b/gfx/cairo/README index 16145c611d1..fa09feaf80f 100644 --- a/gfx/cairo/README +++ b/gfx/cairo/README @@ -26,4 +26,6 @@ win32-scaled-font-size.patch: Add cairo_win32_font_face_create_for_logfontw_hfon allow win32 scaled_fonts to rescale themselves properly to the required CTM and only use the font_face's hfont if we're sure it's appropriate +win32-logical-font-scale.patch: set CAIRO_WIN32_LOGICAL_FONT_SCALE to 1 + nonfatal-assertions.patch: Make assertions non-fatal diff --git a/gfx/cairo/cairo/src/cairo-win32-private.h b/gfx/cairo/cairo/src/cairo-win32-private.h index 08aeafa759c..e360d8aea8f 100644 --- a/gfx/cairo/cairo/src/cairo-win32-private.h +++ b/gfx/cairo/cairo/src/cairo-win32-private.h @@ -46,7 +46,7 @@ #define SB_NONE 0 #endif -#define WIN32_FONT_LOGICAL_SCALE 32 +#define WIN32_FONT_LOGICAL_SCALE 1 typedef struct _cairo_win32_surface { cairo_surface_t base; diff --git a/gfx/cairo/win32-logical-font-scale.patch b/gfx/cairo/win32-logical-font-scale.patch new file mode 100644 index 00000000000..b1135c41d19 --- /dev/null +++ b/gfx/cairo/win32-logical-font-scale.patch @@ -0,0 +1,12 @@ +diff -r e10a8066a62c gfx/cairo/cairo/src/cairo-win32-private.h +--- a/gfx/cairo/cairo/src/cairo-win32-private.h Fri Jun 08 17:39:38 2007 -0700 ++++ b/gfx/cairo/cairo/src/cairo-win32-private.h Fri Jun 29 09:14:35 2007 +0200 +@@ -46,7 +46,7 @@ + #define SB_NONE 0 + #endif + +-#define WIN32_FONT_LOGICAL_SCALE 32 ++#define WIN32_FONT_LOGICAL_SCALE 1 + + typedef struct _cairo_win32_surface { + cairo_surface_t base;