[cairo-commit] cairo/test gradient-alpha-ref.png, 1.2,
1.3 linear-gradient-ref.png, 1.2, 1.3 text-pattern-ref.png, 1.2, 1.3
Billy Biggs
commit at pdx.freedesktop.org
Mon Aug 22 07:10:42 EST 2005
Committed by: vektor
Update of /cvs/cairo/cairo/test
In directory gabe:/tmp/cvs-serv24562/test
Modified Files:
gradient-alpha-ref.png linear-gradient-ref.png
text-pattern-ref.png
Log Message:
Fix for bug #4172:
* src/cairo-pattern.c: (_cairo_pattern_shader_gaussian),
(_cairo_image_data_set_linear), (_cairo_image_data_set_radial):
Use _cairo_fixed_to_double and _cairo_double_to_fixed when converting
between double and 16.16 fixed point. These functions round nicely,
and solve some inconsistencies in rendering between my PPC and x86
machines. Thanks to Owen Taylor for suggesting the fix.
* test/gradient-alpha-ref.png:
* test/linear-gradient-ref.png:
* test/text-pattern-ref.png: The above change does affect linear
gradients slightly, but it seems worth it. Update the reference
images to follow.
Index: gradient-alpha-ref.png
===================================================================
RCS file: /cvs/cairo/cairo/test/gradient-alpha-ref.png,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
Binary files /tmp/cvsnwP7Vh and /tmp/cvsKgaaSh differ
Index: linear-gradient-ref.png
===================================================================
RCS file: /cvs/cairo/cairo/test/linear-gradient-ref.png,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
Binary files /tmp/cvs24FEkl and /tmp/cvse77ejl differ
Index: text-pattern-ref.png
===================================================================
RCS file: /cvs/cairo/cairo/test/text-pattern-ref.png,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
Binary files /tmp/cvs5q0U8j and /tmp/cvscjNhak differ
More information about the cairo-commit
mailing list