[cairo-commit] 2 commits - test/bitmap-font.c test/degenerate-path.c test/Makefile.am test/miter-precision.c

Carl Worth cworth at kemper.freedesktop.org
Thu Sep 25 00:17:09 PDT 2008


 test/Makefile.am       |    3 +++
 test/bitmap-font.c     |    3 ++-
 test/degenerate-path.c |    3 ++-
 test/miter-precision.c |    2 +-
 4 files changed, 8 insertions(+), 3 deletions(-)

New commits:
commit a501f8f6d84bcac12b48e226ab653ae237b1a603
Author: Carl Worth <cworth at cworth.org>
Date:   Thu Sep 25 00:14:13 2008 -0700

    Mark degenerate-path and miter-precision as XFAIL.
    
    These two tests currently fail only for the PS backend,
    but they've done so since before the last major release.
    The final image result we're getting is definitely wrong
    in both cases, but we have not yet been able to verify
    if this is due to bugs in cairo (generating PostScript)
    or in ghostscript (interpreting and rasterzing the
    PostScript).

diff --git a/test/Makefile.am b/test/Makefile.am
index 92d214b..1034d72 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -781,11 +781,13 @@ alpha-similar$(EXEEXT)				\
 big-line$(EXEEXT)				\
 big-trap$(EXEEXT)				\
 bitmap-font$(EXEEXT)				\
+degenerate-path$(EXEEXT)			\
 extend-pad$(EXEEXT)				\
 filter-nearest-offset$(EXEEXT)			\
 filter-bilinear-extents$(EXEEXT)		\
 large-source$(EXEEXT)				\
 long-lines$(EXEEXT)				\
+miter-precision$(EXEEXT)			\
 operator$(EXEEXT)				\
 operator-alpha$(EXEEXT)				\
 self-copy-overlap$(EXEEXT)			\
diff --git a/test/degenerate-path.c b/test/degenerate-path.c
index 67cc9a0..edaeed0 100644
--- a/test/degenerate-path.c
+++ b/test/degenerate-path.c
@@ -34,7 +34,8 @@ static cairo_test_draw_function_t draw;
 
 static const cairo_test_t test = {
     "degenerate-path",
-    "Tests the behaviour of degenerate paths with different cap types",
+    "Tests the behaviour of degenerate paths with different cap types"
+    "\nPS backend currently fails for unknown reason (cairo? GS?).",
     3*(PAD+LINE_WIDTH+PAD), 8*(LINE_WIDTH+PAD) + PAD,
     draw
 };
diff --git a/test/miter-precision.c b/test/miter-precision.c
index 2720677..1d90dff 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"
-    "\ncurrent code draws inappropriate bevels at times",
+    "\nPS backend currently fails for unknown reason (cairo? GS?).",
     120, 100,
     draw
 };
commit e279eeb7ddae445015ac1a582d4aab2e68f03c94
Author: Carl Worth <cworth at cworth.org>
Date:   Thu Sep 25 00:08:03 2008 -0700

    Make the bitmap-font an XFAIL.
    
    We've had these PDF and PS failures here for a *long* time,
    (before the last major release for sure). It's a bug, but
    we expect it to be there, so advertise it that way.

diff --git a/test/Makefile.am b/test/Makefile.am
index c2fcdbf..92d214b 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -780,6 +780,7 @@ XFAIL_TESTS =					\
 alpha-similar$(EXEEXT)				\
 big-line$(EXEEXT)				\
 big-trap$(EXEEXT)				\
+bitmap-font$(EXEEXT)				\
 extend-pad$(EXEEXT)				\
 filter-nearest-offset$(EXEEXT)			\
 filter-bilinear-extents$(EXEEXT)		\
diff --git a/test/bitmap-font.c b/test/bitmap-font.c
index 42bf707..6d0b219 100644
--- a/test/bitmap-font.c
+++ b/test/bitmap-font.c
@@ -40,7 +40,8 @@ static cairo_test_draw_function_t draw;
 
 static const cairo_test_t test = {
     "bitmap-font",
-    "Test drawing with a font consisting only of bitmaps",
+    "Test drawing with a font consisting only of bitmaps"
+    "\nThe PDF and PS backends embed a slightly distorted font for the rotated case.",
     246 + 1, 2 * TEXT_SIZE,
     draw
 };


More information about the cairo-commit mailing list