1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/cairo/win32-vertically-offset-glyph.patch Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,23 @@ 1.4 +diff --git a/gfx/cairo/cairo/src/cairo-win32-surface.c b/gfx/cairo/cairo/src/cairo-win32-surface.c 1.5 +--- a/gfx/cairo/cairo/src/cairo-win32-surface.c 1.6 ++++ b/gfx/cairo/cairo/src/cairo-win32-surface.c 1.7 +@@ -1742,17 +1742,18 @@ _cairo_win32_surface_show_glyphs (void 1.8 + 1.9 + cairo_matrix_transform_point(&device_to_logical, 1.10 + &next_user_x, &next_user_y); 1.11 + 1.12 + next_logical_x = _cairo_lround (next_user_x); 1.13 + next_logical_y = _cairo_lround (next_user_y); 1.14 + 1.15 + dxy_buf[j] = _cairo_lround (next_logical_x - logical_x); 1.16 +- dxy_buf[j+1] = _cairo_lround (next_logical_y - logical_y); 1.17 ++ dxy_buf[j+1] = _cairo_lround (logical_y - next_logical_y); 1.18 ++ /* note that GDI coordinate system is inverted */ 1.19 + 1.20 + logical_x = next_logical_x; 1.21 + logical_y = next_logical_y; 1.22 + } 1.23 + } 1.24 + 1.25 + /* Using glyph indices for a Type 1 font does not work on a 1.26 + * printer DC. The win32 printing surface will convert the the