[cairo-commit] src/cairo-meta-surface.c test/fallback-resolution.c

Adrian Johnson ajohnson at kemper.freedesktop.org
Wed Oct 15 23:53:17 PDT 2008


 src/cairo-meta-surface.c   |    2 +-
 test/fallback-resolution.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 5911c6966de832fa350a6e9a4d587b7c3b3b4825
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Thu Oct 16 17:22:48 2008 +1030

    Use correct inverse ctm for stroke in meta surface replay
    
    This fixes #9189 Dashed strokes too long in fallback images

diff --git a/src/cairo-meta-surface.c b/src/cairo-meta-surface.c
index 77503d5..b86cb51 100644
--- a/src/cairo-meta-surface.c
+++ b/src/cairo-meta-surface.c
@@ -822,7 +822,7 @@ _cairo_meta_surface_replay_internal (cairo_surface_t	     *surface,
 	    if (has_device_transform) {
 		cairo_matrix_multiply (&dev_ctm, &dev_ctm, device_transform);
 		cairo_matrix_multiply (&dev_ctm_inverse,
-				       &surface->device_transform_inverse,
+				       &target->device_transform_inverse,
 				       &dev_ctm_inverse);
 	    }
 
diff --git a/test/fallback-resolution.c b/test/fallback-resolution.c
index 8b5842e..c83ff82 100644
--- a/test/fallback-resolution.c
+++ b/test/fallback-resolution.c
@@ -301,7 +301,7 @@ main (void)
     cairo_test_context_t ctx;
     cairo_t *cr;
     cairo_test_status_t ret = CAIRO_TEST_UNTESTED;
-    double ppi[] = { 600., 300., 150., 75., 72, 37.5 };
+    double ppi[] = { 576., 288., 144., 72., 36. };
     unsigned int i;
     int ppi_x, ppi_y, num_ppi;
 


More information about the cairo-commit mailing list