[cairo-commit] cairo/test cairo-test.c, 1.61,
1.62 caps-joins-ps-rgb24-ref.png, 1.1,
NONE caps-sub-paths-ps-rgb24-ref.png, 1.1,
NONE clip-fill-rule-ps-rgb24-ref.png, 1.1,
NONE clip-nesting-ps-rgb24-ref.png, 1.1, NONE clip-operator.c,
1.1, 1.2 clip-twice-ps-rgb24-ref.png, 1.1,
NONE dash-caps-joins-ps-rgb24-ref.png, 1.1,
NONE dash-offset-negative-ps-rgb24-ref.png, 1.1,
NONE fill-and-stroke-ps-rgb24-ref.png, 1.1,
NONE fill-rule-ps-rgb24-ref.png, 1.1,
NONE leaky-polygon-ps-rgb24-ref.png, 1.1,
NONE line-width-ps-rgb24-ref.png, 1.1,
NONE path-data-ps-rgb24-ref.png, 1.1,
NONE rectangle-rounding-error-ps-rgb24-ref.png, 1.1,
NONE show-text-current-point-ps-rgb24-ref.png, 1.1,
NONE text-antialias-gray-ps-rgb24-ref.png, 1.1,
NONE text-antialias-none-ps-rgb24-ref.png, 1.1,
NONE text-antialias-subpixel-ps-rgb24-ref.png, 1.1,
NONE transforms-ps-rgb24-ref.png, 1.1,
NONE unantialiased-shapes-ps-rgb24-ref.png, 1.1, NONE
Carl Worth
commit at pdx.freedesktop.org
Tue Nov 8 17:43:16 PST 2005
Committed by: cworth
Update of /cvs/cairo/cairo/test
In directory gabe:/tmp/cvs-serv4179/test
Modified Files:
cairo-test.c clip-operator.c
Removed Files:
caps-joins-ps-rgb24-ref.png caps-sub-paths-ps-rgb24-ref.png
clip-fill-rule-ps-rgb24-ref.png clip-nesting-ps-rgb24-ref.png
clip-twice-ps-rgb24-ref.png dash-caps-joins-ps-rgb24-ref.png
dash-offset-negative-ps-rgb24-ref.png
fill-and-stroke-ps-rgb24-ref.png fill-rule-ps-rgb24-ref.png
leaky-polygon-ps-rgb24-ref.png line-width-ps-rgb24-ref.png
path-data-ps-rgb24-ref.png
rectangle-rounding-error-ps-rgb24-ref.png
show-text-current-point-ps-rgb24-ref.png
text-antialias-gray-ps-rgb24-ref.png
text-antialias-none-ps-rgb24-ref.png
text-antialias-subpixel-ps-rgb24-ref.png
transforms-ps-rgb24-ref.png
unantialiased-shapes-ps-rgb24-ref.png
Log Message:
2005-11-08 Carl Worth <cworth at cworth.org>
* ROADMAP: Note that PS is now passing all tests except for
self-copy.
* src/cairo-ps-surface.c: (_cairo_ps_surface_paint),
(_cairo_ps_surface_mask), (_cairo_ps_surface_stroke),
(_cairo_ps_surface_fill), (_cairo_ps_surface_show_glyphs),
(_ps_output_paint), (_ps_output_mask), (_ps_output_stroke),
(_ps_output_fill), (_ps_output_show_glyphs): Add missing glue to
hook up PS backend with new meta-surface support for the 5 basic
drawing operations. Currently, this forces image fallbacks for all
operations.
* test/cairo-test.c: (ps_surface_write_to_png): Switch from gs
device of pngalpha to png16m which for some reason gives the
correct result for nil-surface now, while pngalpha does not.
* test/clip-operator.c: (draw): Key off of N_OPERATORS as the loop
control for easier trimming down of this test case when debugging.
* src/cairoint.h: Rename stroke_style parameter to style in
backend->stroke parameter list.
* test/caps-joins-ps-rgb24-ref.png:
* test/caps-sub-paths-ps-rgb24-ref.png:
* test/clip-fill-rule-ps-rgb24-ref.png:
* test/clip-nesting-ps-rgb24-ref.png:
* test/clip-twice-ps-rgb24-ref.png:
* test/dash-caps-joins-ps-rgb24-ref.png:
* test/dash-offset-negative-ps-rgb24-ref.png:
* test/fill-and-stroke-ps-rgb24-ref.png:
* test/fill-rule-ps-rgb24-ref.png:
* test/leaky-polygon-ps-rgb24-ref.png:
* test/line-width-ps-rgb24-ref.png:
* test/path-data-ps-rgb24-ref.png:
* test/rectangle-rounding-error-ps-rgb24-ref.png:
* test/show-text-current-point-ps-rgb24-ref.png:
* test/text-antialias-gray-ps-rgb24-ref.png:
* test/text-antialias-none-ps-rgb24-ref.png:
* test/text-antialias-subpixel-ps-rgb24-ref.png:
* test/transforms-ps-rgb24-ref.png:
* test/unantialiased-shapes-ps-rgb24-ref.png: Remove PS-specific
reference images for many tests which are now using more fallback
paths than before.
Index: cairo-test.c
===================================================================
RCS file: /cvs/cairo/cairo/test/cairo-test.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- cairo-test.c 8 Oct 2005 18:58:20 -0000 1.61
+++ cairo-test.c 9 Nov 2005 01:43:14 -0000 1.62
@@ -519,7 +519,7 @@
char command[4096];
cairo_surface_finish (surface);
- sprintf (command, "gs -q -r72 -g%dx%d -dSAFER -dBATCH -dNOPAUSE -sDEVICE=pngalpha -sOutputFile=%s %s",
+ sprintf (command, "gs -q -r72 -g%dx%d -dSAFER -dBATCH -dNOPAUSE -sDEVICE=png16m -sOutputFile=%s %s",
ptc->width, ptc->height, filename, ptc->filename);
if (system (command) == 0)
return CAIRO_STATUS_SUCCESS;
--- caps-joins-ps-rgb24-ref.png DELETED ---
--- caps-sub-paths-ps-rgb24-ref.png DELETED ---
--- clip-fill-rule-ps-rgb24-ref.png DELETED ---
--- clip-nesting-ps-rgb24-ref.png DELETED ---
Index: clip-operator.c
===================================================================
RCS file: /cvs/cairo/cairo/test/clip-operator.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- clip-operator.c 8 Aug 2005 20:46:12 -0000 1.1
+++ clip-operator.c 9 Nov 2005 01:43:14 -0000 1.2
@@ -158,7 +158,7 @@
cairo_font_options_destroy (font_options);
for (j = 0; j < ARRAY_SIZE (draw_funcs); j++) {
- for (op = CAIRO_OPERATOR_CLEAR; op <= CAIRO_OPERATOR_SATURATE; op++) {
+ for (op = CAIRO_OPERATOR_CLEAR; op < N_OPERATORS; op++) {
x = op * (WIDTH + PAD) + PAD;
y = j * (HEIGHT + PAD) + PAD;
--- clip-twice-ps-rgb24-ref.png DELETED ---
--- dash-caps-joins-ps-rgb24-ref.png DELETED ---
--- dash-offset-negative-ps-rgb24-ref.png DELETED ---
--- fill-and-stroke-ps-rgb24-ref.png DELETED ---
--- fill-rule-ps-rgb24-ref.png DELETED ---
--- leaky-polygon-ps-rgb24-ref.png DELETED ---
--- line-width-ps-rgb24-ref.png DELETED ---
--- path-data-ps-rgb24-ref.png DELETED ---
--- rectangle-rounding-error-ps-rgb24-ref.png DELETED ---
--- show-text-current-point-ps-rgb24-ref.png DELETED ---
--- text-antialias-gray-ps-rgb24-ref.png DELETED ---
--- text-antialias-none-ps-rgb24-ref.png DELETED ---
--- text-antialias-subpixel-ps-rgb24-ref.png DELETED ---
--- transforms-ps-rgb24-ref.png DELETED ---
--- unantialiased-shapes-ps-rgb24-ref.png DELETED ---
More information about the cairo-commit
mailing list