[cairo-commit] src/cairo-image-surface.c

Chris Wilson ickle at kemper.freedesktop.org
Fri Jul 23 01:44:20 PDT 2010


 src/cairo-image-surface.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3898e46d1de19848efeddb442dcf7f7663530256
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Fri Jul 23 09:41:48 2010 +0100

    image: Compensate mask origins for glyph clipping
    
    Fixes the regression in bitmap-font and large-font pointed out by Andrea
    Canciani since ef067933.

diff --git a/src/cairo-image-surface.c b/src/cairo-image-surface.c
index e111973..464df32 100644
--- a/src/cairo-image-surface.c
+++ b/src/cairo-image-surface.c
@@ -3965,7 +3965,7 @@ _composite_glyphs (void				*closure,
 	    pixman_image_composite32 (pixman_op,
                                       src, glyph_surface->pixman_image, dst,
                                       x1 + src_x,  y1 + src_y,
-                                      0, 0,
+                                      x1 - x, y1 - y,
                                       x1 - dst_x, y1 - dst_y,
                                       x2 - x1, y2 - y1);
 	}


More information about the cairo-commit mailing list