Built today with sources of libpixman, glitz and cairo directly from CVS FAIL: clip-twice FAIL: coverage PASS: create-for-png FAIL: fill-rule PASS: get-and-set FAIL: leaky-polygon FAIL: line-width FAIL: linear-gradient FAIL: move-to-show-surface FAIL: path-data XFAIL: pixman-rotate PASS: text-cache-crash XFAIL: text-rotate FAIL: transforms PASS: user-data ==================== 9 of 15 tests failed ==================== make[1]: *** [check-TESTS] Error 1 cat of *.log >> Error: 1300 pixels differ from reference image ./clip-twice-ref.png Error: 30557 pixels differ from reference image ./coverage-ref.png Error: 4224 pixels differ from reference image ./fill-rule-ref.png Error: 41 pixels differ from reference image ./leaky-polygon-ref.png Error: 118036 pixels differ from reference image ./linear-gradient-ref.png Error: 350 pixels differ from reference image ./line-width-ref.png Error: 2 pixels differ from reference image ./move-to-show-surface-ref.png Error: 696 pixels differ from reference image ./path-data-ref.png Error: 1024 pixels differ from reference image ./pixman-rotate-ref.png Error: No reference image found: ./text-rotate-ref.png Error: 217 pixels differ from reference image ./transforms-ref.png My system SuSE 9.2 x86_84 Linux stargate-lx1 2.6.8-24.11-default #1 Fri Jan 14 13:01:26 UTC 2005 x86_64 x86_64 x86_64 GNU/Linux
Can you retest? A lot of stuff in libpixman has changed recently.
Build and make check from today's cvs tree - 19aug2005 ======================================================================== 14 of 56 tests failed Please report to http://bugs.freedesktop.org/enter_bug.cgi?product=cairo ======================================================================== panels@stargate-lx1:~/src/X11/cairo> gcc --version gcc (GCC) 3.3.4 (pre 3.3.5 20040809) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. panels@stargate-lx1:~/src/X11/cairo> uname -a Linux stargate-lx1 2.6.11.7 #1 Mon Apr 18 16:15:43 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux panels@stargate-lx1:~/src/X11/cairo> Output of make check: a8-mask is expected to fail: image backend fails because libpixman only handles (stride % sizeof(pixman_bit s) == 0) a8-mask-image: XFAIL a8-mask-xlib: PASS XFAIL: a8-mask clip-nesting-image: PASS clip-nesting-xlib: PASS PASS: clip-nesting clip-operator-image: FAIL clip-operator-xlib: FAIL FAIL: clip-operator clip-twice-image: PASS clip-twice-xlib: PASS PASS: clip-twice composite-integer-translate-source-image: PASS composite-integer-translate-source-xlib: PASS PASS: composite-integer-translate-source composite-integer-translate-over-image: PASS composite-integer-translate-over-xlib: PASS PASS: composite-integer-translate-over composite-integer-translate-over-repeat-image: PASS composite-integer-translate-over-repeat-xlib: PASS PASS: composite-integer-translate-over-repeat create-from-png-image: PASS create-from-png-xlib: PASS PASS: create-from-png create-from-png-image: PASS create-from-png-xlib: PASS PASS: create-from-png-stream dash-offset-negative-image: PASS dash-offset-negative-xlib: PASS PASS: dash-offset-negative fill-and-stroke-image: PASS fill-and-stroke-xlib: PASS PASS: fill-and-stroke fill-rule-image: PASS fill-rule-xlib: PASS PASS: fill-rule filter-nearest-offset is expected to fail: wrong sampling location for nearest-neighbor filter in libpixman and Render filter-nearest-offset-image: XFAIL filter-nearest-offset-xlib: XFAIL XFAIL: filter-nearest-offset get-and-set-image: FAIL get-and-set-xlib: FAIL FAIL: get-and-set gradient-alpha-image: PASS gradient-alpha-xlib: PASS PASS: gradient-alpha leaky-polygon-image: PASS leaky-polygon-xlib: PASS PASS: leaky-polygon line-width-image: PASS line-width-xlib: PASS linear-gradient-image: FAIL linear-gradient-xlib: FAIL FAIL: linear-gradient mask-image: PASS mask-xlib: PASS PASS: mask mask-ctm-image: FAIL mask-ctm-xlib: FAIL FAIL: mask-ctm mask-surface-ctm-image: FAIL mask-surface-ctm-xlib: FAIL FAIL: mask-surface-ctm move-to-show-surface-image: PASS move-to-show-surface-xlib: PASS PASS: move-to-show-surface nil-surface-image: PASS nil-surface-xlib: PASS PASS: nil-surface operator-clear-image: FAIL operator-clear-xlib: FAIL FAIL: operator-clear operator-source-image: FAIL operator-source-xlib: FAIL FAIL: operator-source paint-image: PASS paint-xlib: PASS PASS: paint paint-with-alpha-image: FAIL paint-with-alpha-xlib: FAIL FAIL: paint-with-alpha path-data-image: PASS path-data-xlib: PASS PASS: path-data pixman-rotate is expected to fail: known off-by-one bug when rotating a pixman image pixman-rotate-image: XFAIL pixman-rotate-xlib: XFAIL XFAIL: pixman-rotate scale-source-surface-paint-image: FAIL scale-source-surface-paint-xlib: FAIL FAIL: scale-source-surface-paint select-font-no-show-text-image: PASS select-font-no-show-text-xlib: PASS PASS: select-font-no-show-text self-copy-image: PASS self-copy-xlib: PASS PASS: self-copy self-intersecting is expected to fail: Self-intersecting strokes are wrong due to incremental trapezoidization. self-intersecting-image: XFAIL self-intersecting-xlib: XFAIL XFAIL: self-intersecting set-source-image: PASS set-source-xlib: PASS PASS: set-source source-clip-image: PASS source-clip-xlib: PASS PASS: source-clip source-surface-scale-paint-image: FAIL source-surface-scale-paint-xlib: FAIL FAIL: source-surface-scale-paint surface-finish-twice-image: PASS surface-finish-twice-xlib: PASS PASS: surface-finish-twice surface-pattern-image: PASS surface-pattern-xlib: PASS PASS: surface-pattern text-antialias-gray-image: FAIL text-antialias-gray-xlib: FAIL FAIL: text-antialias-gray text-antialias-none-image: FAIL text-antialias-none-xlib: FAIL FAIL: text-antialias-none text-antialias-subpixel is expected to fail: Bugs in subpixel-antialiased text rendering text-antialias-subpixel-image: XFAIL text-antialias-subpixel-xlib: XFAIL XFAIL: text-antialias-subpixel text-cache-crash-image: PASS text-cache-crash-xlib: PASS PASS: text-cache-crash text-pattern-image: FAIL text-pattern-xlib: FAIL FAIL: text-pattern text-rotate is expected to fail: known bugs in positioning rotated glyphs text-rotate-image: XFAIL text-rotate-xlib: XFAIL XFAIL: text-rotate transforms-image: PASS transforms-xlib: PASS PASS: transforms translate-show-surface-image: PASS translate-show-surface-xlib: PASS PASS: translate-show-surface trap-clip-image: PASS trap-clip-xlib: PASS PASS: trap-clip unantialiased-shapes-image: PASS unantialiased-shapes-xlib: PASS PASS: unantialiased-shapes unbounded-operator-image: FAIL unbounded-operator-xlib: FAIL FAIL: unbounded-operator PASS: user-data rel-path-image: PASS rel-path-xlib: PASS PASS: rel-path ft-font-create-for-ft-face-image: PASS ft-font-create-for-ft-face-xlib: PASS PASS: ft-font-create-for-ft-face pdf-surface: Please check pdf-surface.pdf to make sure it looks happy. pdf-surface: Please check pdf-clip.pdf to make sure it looks happy. PASS: pdf-clip ps-surface: Please check ps-surface.ps to make sure it looks happy. PASS: ps-surface PASS: xlib-surface ======================================================================== 14 of 56 tests failed Please report to http://bugs.freedesktop.org/enter_bug.cgi?product=cairo ======================================================================== make[2]: *** [check-TESTS] Error 1 make[2]: Leaving directory `/home/panels/src/X11/cairo/test' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/home/panels/src/X11/cairo/test' make: *** [check-recursive] Error 1 a8-mask.log Testing a8-mask with image target Error: 20 pixels differ from reference image ./a8-mask-ref.png Testing a8-mask with xlib target clip-nesting.log Testing clip-nesting with image target Testing clip-nesting with xlib target clip-operator.log Testing clip-operator with image target Error: 3806 pixels differ from reference image ./clip-operator-ref.png Testing clip-operator with xlib target Error: 3958 pixels differ from reference image ./clip-operator-ref.png clip-twice.log Testing clip-twice with image target Testing clip-twice with xlib target composite-integer-translate-over.log Testing composite-integer-translate-over with image target Testing composite-integer-translate-over with xlib target composite-integer-translate-over-repeat.log Testing composite-integer-translate-over-repeat with image target Testing composite-integer-translate-over-repeat with xlib target composite-integer-translate-source.log Testing composite-integer-translate-source with image target Testing composite-integer-translate-source with xlib target create-from-png.log Testing create-from-png with image target Testing create-from-png with xlib target dash-offset-negative.log Testing dash-offset-negative with image target Testing dash-offset-negative with xlib target fill-and-stroke.log Testing fill-and-stroke with image target Testing fill-and-stroke with xlib target fill-rule.log Testing fill-rule with image target Testing fill-rule with xlib target filter-nearest-offset.log Testing filter-nearest-offset with image target Error: 1520 pixels differ from reference image ./filter-nearest-offset-ref.png Testing filter-nearest-offset with xlib target Error: 1520 pixels differ from reference image ./filter-nearest-offset-ref.png ft-font-create-for-ft-face.log Testing ft-font-create-for-ft-face with image target Testing ft-font-create-for-ft-face with xlib target get-and-set.log Testing get-and-set with image target Error: Function under test failed Testing get-and-set with xlib target Error: Function under test failed gradient-alpha.log Testing gradient-alpha with image target Testing gradient-alpha with xlib target leaky-polygon.log Testing leaky-polygon with image target Testing leaky-polygon with xlib target linear-gradient.log Testing linear-gradient with image target Error: 19 pixels differ from reference image ./linear-gradient-ref.png Testing linear-gradient with xlib target Error: 19 pixels differ from reference image ./linear-gradient-ref.png line-width.log Testing line-width with image target Testing line-width with xlib target mask-ctm.log Testing mask-ctm with image target Error: 6 pixels differ from reference image ./mask-ctm-ref.png Testing mask-ctm with xlib target Error: 6 pixels differ from reference image ./mask-ctm-ref.png mask.log Testing mask with image target Testing mask with xlib target mask-surface-ctm.log Testing mask-surface-ctm with image target Error: 6 pixels differ from reference image ./mask-surface-ctm-ref.png Testing mask-surface-ctm with xlib target Error: 6 pixels differ from reference image ./mask-surface-ctm-ref.png move-to-show-surface.log Testing move-to-show-surface with image target Testing move-to-show-surface with xlib target nil-surface.log Testing nil-surface with image target Testing nil-surface with xlib target operator-clear.log Testing operator-clear with image target Error: 1156 pixels differ from reference image ./operator-clear-ref.png Testing operator-clear with xlib target Error: 1156 pixels differ from reference image ./operator-clear-ref.png operator-source.log Testing operator-source with image target Error: 2350 pixels differ from reference image ./operator-source-ref.png Testing operator-source with xlib target Error: 3537 pixels differ from reference image ./operator-source-ref.png paint.log Testing paint with image target Testing paint with xlib target paint-with-alpha.log Testing paint-with-alpha with image target Error: 56 pixels differ from reference image ./paint-with-alpha-ref.png Testing paint-with-alpha with xlib target Error: 56 pixels differ from reference image ./paint-with-alpha-ref.png path-data.log Testing path-data with image target Testing path-data with xlib target pixman-rotate.log Testing pixman-rotate with image target Error: 307 pixels differ from reference image ./pixman-rotate-ref.png Testing pixman-rotate with xlib target Error: 307 pixels differ from reference image ./pixman-rotate-ref.png rel-path.log Testing rel-path with image target Testing rel-path with xlib target scale-source-surface-paint.log Testing scale-source-surface-paint with image target Error: 56 pixels differ from reference image ./scale-source-surface-paint-ref.png Testing scale-source-surface-paint with xlib target Error: 56 pixels differ from reference image ./scale-source-surface-paint-ref.png select-font-no-show-text.log Testing select-font-no-show-text with image target Testing select-font-no-show-text with xlib target self-copy.log Testing self-copy with image target Testing self-copy with xlib target self-intersecting.log Testing self-intersecting with image target Error: 10 pixels differ from reference image ./self-intersecting-ref.png Testing self-intersecting with xlib target Error: 10 pixels differ from reference image ./self-intersecting-ref.png set-source.log Testing set-source with image target Testing set-source with xlib target source-clip.log Testing source-clip with image target Testing source-clip with xlib target source-surface-scale-paint.log Testing source-surface-scale-paint with image target Error: 14 pixels differ from reference image ./source-surface-scale-paint-ref.png Testing source-surface-scale-paint with xlib target Error: 14 pixels differ from reference image ./source-surface-scale-paint-ref.png surface-finish-twice.log Testing surface-finish-twice with image target Testing surface-finish-twice with xlib target surface-pattern.log Testing surface-pattern with image target Testing surface-pattern with xlib target text-antialias-gray.log Testing text-antialias-gray with image target Error: 326 pixels differ from reference image ./text-antialias-gray-ref.png Testing text-antialias-gray with xlib target Error: 326 pixels differ from reference image ./text-antialias-gray-ref.png text-antialias-none.log Testing text-antialias-none with image target Error: 68 pixels differ from reference image ./text-antialias-none-ref.png Testing text-antialias-none with xlib target Error: 68 pixels differ from reference image ./text-antialias-none-ref.png text-antialias-subpixel.log Testing text-antialias-subpixel with image target Error: File not found: ./text-antialias-subpixel-ref.png Testing text-antialias-subpixel with xlib target Error: File not found: ./text-antialias-subpixel-ref.png text-cache-crash.log Testing text-cache-crash with image target Testing text-cache-crash with xlib target text-pattern.log Testing text-pattern with image target Error: 845 pixels differ from reference image ./text-pattern-ref.png Testing text-pattern with xlib target Error: 845 pixels differ from reference image ./text-pattern-ref.png text-rotate.log Testing text-rotate with image target Error: File not found: ./text-rotate-ref.png Testing text-rotate with xlib target Error: File not found: ./text-rotate-ref.png transforms.log Testing transforms with image target Testing transforms with xlib target translate-show-surface.log Testing translate-show-surface with image target Testing translate-show-surface with xlib target trap-clip.log Testing trap-clip with image target Testing trap-clip with xlib target unantialiased-shapes.log Testing unantialiased-shapes with image target Testing unantialiased-shapes with xlib target unbounded-operator.log Testing unbounded-operator with image target Error: 2281 pixels differ from reference image ./unbounded-operator-ref.png Testing unbounded-operator with xlib target Error: 2281 pixels differ from reference image ./unbounded-operator-ref.png xlib-surface.log xlib-surface: render, no-size, window, onscreen: PASS xlib-surface: render, no-size, window, offscreen: PASS xlib-surface: render, no-size, pixmap : PASS xlib-surface: render, size, window, onscreen: PASS xlib-surface: render, size, window, offscreen: PASS xlib-surface: render, size, pixmap : PASS xlib-surface: no-render, no-size, window, onscreen: PASS xlib-surface: no-render, no-size, window, offscreen: PASS xlib-surface: no-render, no-size, pixmap : PASS xlib-surface: no-render, size, window, onscreen: PASS xlib-surface: no-render, size, window, offscreen: PASS xlib-surface: no-render, size, pixmap : PASS panels@stargate-lx1:~/src/X11/cairo>
Move bugs against "cvs" version to "0.9.3" so we can remove the "cvs" version.
In 1.0.2 All of the tests that fail are ones that deal with text, it is only the anti-aliasing around the edges of the text in each of the respective tests that shows up as differences. Paul make[2]: Entering directory `/home/panels/toolbox/lgpl/cairo-1.0.2/test' a8-mask is expected to fail: image backend fails because libpixman only handles (stride % sizeof(pixman_bits) == 0) a8-mask-image: XFAIL a8-mask-xlib: PASS XFAIL: a8-mask caps-joins-image: PASS caps-joins-xlib: PASS PASS: caps-joins caps-sub-paths-image: PASS caps-sub-paths-xlib: PASS PASS: caps-sub-paths clip-all-image: PASS clip-all-xlib: PASS PASS: clip-all clip-nesting-image: PASS clip-nesting-xlib: PASS PASS: clip-nesting clip-operator-image: FAIL clip-operator-xlib: FAIL FAIL: clip-operator clip-twice-image: PASS clip-twice-xlib: PASS PASS: clip-twice composite-integer-translate-source-image: PASS composite-integer-translate-source-xlib: PASS PASS: composite-integer-translate-source composite-integer-translate-over-image: PASS composite-integer-translate-over-xlib: PASS PASS: composite-integer-translate-over composite-integer-translate-over-repeat-image: PASS composite-integer-translate-over-repeat-xlib: PASS PASS: composite-integer-translate-over-repeat create-from-png-image: PASS create-from-png-xlib: PASS PASS: create-from-png create-from-png-stream-image: PASS create-from-png-stream-xlib: PASS PASS: create-from-png-stream dash-caps-joins-image: PASS dash-caps-joins-xlib: PASS PASS: dash-caps-joins dash-offset-negative-image: PASS dash-offset-negative-xlib: PASS PASS: dash-offset-negative fill-and-stroke-image: PASS fill-and-stroke-xlib: PASS PASS: fill-and-stroke fill-rule-image: PASS fill-rule-xlib: PASS PASS: fill-rule filter-nearest-offset is expected to fail: wrong sampling location for nearest-neighbor filter in libpixman and Render filter-nearest-offset-image: XFAIL filter-nearest-offset-xlib: XFAIL XFAIL: filter-nearest-offset get-and-set-image: PASS get-and-set-xlib: PASS PASS: get-and-set gradient-alpha-image: PASS gradient-alpha-xlib: PASS PASS: gradient-alpha leaky-polygon-image: PASS leaky-polygon-xlib: PASS PASS: leaky-polygon line-width-image: PASS line-width-xlib: PASS PASS: line-width linear-gradient-image: PASS linear-gradient-xlib: PASS PASS: linear-gradient mask-image: PASS mask-xlib: PASS PASS: mask mask-ctm-image: PASS mask-ctm-xlib: PASS PASS: mask-ctm mask-surface-ctm-image: PASS mask-surface-ctm-xlib: PASS PASS: mask-surface-ctm move-to-show-surface-image: PASS move-to-show-surface-xlib: PASS PASS: move-to-show-surface nil-surface-image: PASS nil-surface-xlib: PASS PASS: nil-surface operator-clear-image: FAIL operator-clear-xlib: FAIL FAIL: operator-clear operator-source-image: FAIL operator-source-xlib: FAIL FAIL: operator-source paint-image: PASS paint-xlib: PASS PASS: paint paint-with-alpha-image: PASS paint-with-alpha-xlib: PASS PASS: paint-with-alpha path-data-image: PASS path-data-xlib: PASS PASS: path-data pixman-rotate is expected to fail: known off-by-one bug when rotating a pixman image pixman-rotate-image: XFAIL pixman-rotate-xlib: XFAIL XFAIL: pixman-rotate rectangle-rounding-error-image: PASS rectangle-rounding-error-xlib: PASS PASS: rectangle-rounding-error scale-source-surface-paint-image: PASS scale-source-surface-paint-xlib: PASS PASS: scale-source-surface-paint select-font-no-show-text-image: PASS select-font-no-show-text-xlib: PASS PASS: select-font-no-show-text self-copy-image: PASS self-copy-xlib: PASS PASS: self-copy self-intersecting is expected to fail: Self-intersecting strokes are wrong due to incremental trapezoidization. self-intersecting-image: XFAIL self-intersecting-xlib: XFAIL XFAIL: self-intersecting set-source-image: PASS set-source-xlib: PASS PASS: set-source show-text-current-point-image: FAIL show-text-current-point-xlib: FAIL FAIL: show-text-current-point source-clip-image: PASS source-clip-xlib: PASS PASS: source-clip source-surface-scale-paint-image: PASS source-surface-scale-paint-xlib: PASS PASS: source-surface-scale-paint surface-finish-twice-image: PASS surface-finish-twice-xlib: PASS PASS: surface-finish-twice surface-pattern-image: PASS surface-pattern-xlib: PASS PASS: surface-pattern text-antialias-gray-image: FAIL text-antialias-gray-xlib: FAIL FAIL: text-antialias-gray text-antialias-none-image: FAIL text-antialias-none-xlib: FAIL FAIL: text-antialias-none text-antialias-subpixel-image: FAIL text-antialias-subpixel-xlib: FAIL FAIL: text-antialias-subpixel text-cache-crash-image: PASS text-cache-crash-xlib: PASS PASS: text-cache-crash text-pattern-image: FAIL text-pattern-xlib: FAIL FAIL: text-pattern text-rotate is expected to fail: minor bugs in positioning rotated glyphs text-rotate-image: XFAIL text-rotate-xlib: XFAIL XFAIL: text-rotate transforms-image: PASS transforms-xlib: PASS PASS: transforms translate-show-surface-image: PASS translate-show-surface-xlib: PASS PASS: translate-show-surface trap-clip-image: PASS trap-clip-xlib: PASS PASS: trap-clip unantialiased-shapes-image: PASS unantialiased-shapes-xlib: PASS PASS: unantialiased-shapes unbounded-operator-image: FAIL unbounded-operator-xlib: FAIL FAIL: unbounded-operator PASS: user-data rel-path-image: PASS rel-path-xlib: PASS PASS: rel-path PASS: pthread-show-text ft-font-create-for-ft-face-image: PASS ft-font-create-for-ft-face-xlib: PASS PASS: ft-font-create-for-ft-face pdf-surface: Please check pdf-surface.pdf to make sure it looks happy. PASS: pdf-surface pdf-surface: Please check pdf-clip.pdf to make sure it looks happy. PASS: pdf-clip ps-surface: Please check ps-surface.ps to make sure it looks happy. PASS: ps-surface PASS: xlib-surface ======================================================================== 9 of 63 tests failed Please report to http://bugs.freedesktop.org/enter_bug.cgi?product=cairo ======================================================================== make[2]: *** [check-TESTS] Error 1 make[2]: Leaving directory `/home/panels/toolbox/lgpl/cairo-1.0.2/test' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/home/panels/toolbox/lgpl/cairo-1.0.2/test' make: *** [check-recursive] Error 1
Yes, the different antialiasing on text edges is a hard issue to eliminate. It's sensitive to things such as the available fonts and the installed version of freetype, and we haven't yet documented the requirements there for matching the reference images, (note: installing Bitstream Vera is certainly one thing to try if you don't have that already). One thing that might help here is to eliminate all use of text in any test except those names text-*. That would definitely make it easier to know when a test report passes everything but the text tests. So if those text edge differences are all that's left, it appears we have solved all of the other bugs that you saw before. If I'm reading that correctly, please feel free to mark this bug as RESOLVED.
As it is now only the anti-aliasing on the text edges that differs, marking this bug as resolved. Paul
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.