[cairo] Running cairo-test-suite with -as / cairo_surface_set_device_scale() and the test suite / image scaling madness

Bryce W. Harrington b.harrington at samsung.com
Tue Jul 8 18:25:30 PDT 2014

On Tue, Jun 10, 2014 at 01:46:08PM -0700, Bill Spitzak wrote:
> Attached is my test program for the filtering. This uses the xlib
> cairo backend (and thus requires patching cairo so that the fallback
> image is used for xlib).
> To build, extract the tar file, cd to the cairot directory, and type
> make. The test program is ./image.
> Edit the source code to change the size of the checkerboard pattern.
> Most tests were done with 1-pixel stripes, by setting CHECKER to 1
> and YCHECKER to 1000.

Hi Bill,

Thanks for providing this test case.  I've built and run it, but am not
sure what I'm looking for...  I see a properly drawn checkerboard with
the defaults, and a set of thin lines with the modified settings.  I'm
assuming I should be seeing some artifacts or corruption?


More information about the cairo mailing list