[cairo-commit] test/Makefile.am test/miter-precision.c test/miter-precision-ps2-ref.png test/miter-precision-ps3-ref.png test/README

Adrian Johnson ajohnson at kemper.freedesktop.org
Fri Sep 26 22:04:41 PDT 2008


 test/Makefile.am                 |    1 -
 test/README                      |    5 +++++
 test/miter-precision-ps2-ref.png |binary
 test/miter-precision-ps3-ref.png |binary
 test/miter-precision.c           |    2 +-
 5 files changed, 6 insertions(+), 2 deletions(-)

New commits:
commit c0535e8e3394f0b78867785e65cf89dbb31875d5
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Sat Sep 27 14:31:50 2008 +0930

    Remove miter-precision from XFAIL
    
    The miter-precision PS output prints correctly on my LaserJet 4050. So
    file a Ghostscript bug, supply PS ref images and remove from XFAIL.

diff --git a/test/Makefile.am b/test/Makefile.am
index df9a9f2..8b6631b 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -909,7 +909,6 @@ extend-pad$(EXEEXT)				\
 filter-nearest-offset$(EXEEXT)			\
 filter-bilinear-extents$(EXEEXT)		\
 long-lines$(EXEEXT)				\
-miter-precision$(EXEEXT)			\
 operator$(EXEEXT)				\
 operator-alpha$(EXEEXT)				\
 self-copy-overlap$(EXEEXT)			\
diff --git a/test/README b/test/README
index f3b534b..6d372ff 100644
--- a/test/README
+++ b/test/README
@@ -261,3 +261,8 @@ Incorrect clipping of group object (regression?)
 https://bugs.freedesktop.org/show_bug.cgi?id=14580
 --------------------------------------------------
 push-group
+
+Ghostscript does not correctly render small miters
+http://bugs.ghostscript.com/show_bug.cgi?id=690098
+--------------------------------------------------
+miter-precision
diff --git a/test/miter-precision-ps2-ref.png b/test/miter-precision-ps2-ref.png
new file mode 100644
index 0000000..c2b69ad
Binary files /dev/null and b/test/miter-precision-ps2-ref.png differ
diff --git a/test/miter-precision-ps3-ref.png b/test/miter-precision-ps3-ref.png
new file mode 100644
index 0000000..c2b69ad
Binary files /dev/null and b/test/miter-precision-ps3-ref.png differ
diff --git a/test/miter-precision.c b/test/miter-precision.c
index 1d90dff..a4e5f2e 100644
--- a/test/miter-precision.c
+++ b/test/miter-precision.c
@@ -38,7 +38,7 @@ static cairo_test_draw_function_t draw;
 static const cairo_test_t test = {
     "miter-precision",
     "test how cairo deals with small miters"
-    "\nPS backend currently fails for unknown reason (cairo? GS?).",
+    "\nPS backend currently fails due to GS bug.",
     120, 100,
     draw
 };


More information about the cairo-commit mailing list