Commit graph

721 commits

Author SHA1 Message Date
Carl Worth
55b5fedbc1 Add many references images (and a font) missing from EXTRA_DIST 2006-07-01 03:06:26 +02:00
Behdad Esfahbod
01b1f3572c Detect and report crashes in tests. 2006-07-01 02:07:28 +02:00
Carl Worth
19c4700101 Even _more_ valgrind suppresions for Xrm (XrmGetFileDatabase this time) 2006-07-01 01:05:30 +02:00
Carl Worth
35ec5747ca Add yet another XrmGetStringDatabase valgrind suppression. 2006-07-01 00:38:06 +02:00
Carl Worth
80cb0d5ba1 Fix some leaks in the test suite itself. 2006-07-01 00:37:44 +02:00
Carl Worth
14e7883fae Fix a memory leak by removing accidentally duplicated code. 2006-07-01 00:00:43 +02:00
Carl Worth
8919b6b324 Add valgrind suppressions for pthread initialization still reachable/possibly lost memory 2006-06-30 23:24:23 +02:00
Carl Worth
98cc1651cf Add valgrind suppressions for still-reachable memory from XGetDefault and XrmGetStringDatabase 2006-06-30 23:21:06 +02:00
Carl Worth
f6b10a6aab Add another suppression due to mysterious occurences in libc 2006-06-30 23:06:56 +02:00
Carl Worth
0853ccd053 Add new libz/libpng suppressions.
It would appear we have to keep updating these for new library versions.
2006-06-30 22:58:36 +02:00
Carl Worth
ee75e1e685 Add ps-specific reference image for test/degenerate-path 2006-06-30 17:07:42 +02:00
Carl Worth
54ce585817 Update PDF-specific reference image for scale-source-surface-paint 2006-06-30 16:10:54 +02:00
Carl Worth
a6fc321d17 Add PDF-specific reference image for paint-source-alpha 2006-06-30 16:10:54 +02:00
Carl Worth
aaef92f830 Add PDF-specific reference image for composite-integer-translate-over 2006-06-30 16:10:53 +02:00
Behdad Esfahbod
195b1142e7 Prefix "cairo_*_test_*" symbols with underscore. 2006-06-29 15:22:44 +02:00
Carl Worth
8effd25c1b Update PDF and PS reference images for test/text-pattern. 2006-06-29 06:25:24 +02:00
Carl Worth
a64b946ee0 Mark test/leaky-dash as an expected failure. 2006-06-29 06:24:44 +02:00
Carl Worth
734e10709f Add several more stress tests to test/dash-zero-length 2006-06-29 06:12:48 +02:00
Keith Packard
20e3a99bba Skip TrueType font output for PS/PDF until it handles vertical layout.
The TrueType font subsetting code fails to emit VHEA/VMTX headers for the
font, so WMode 1 doesn't work to switch to vertical metrics. Added a bug
about this, and changed the PS/PDF output code to just use Type3 in this
case until the bug is fixed. Updated the reference images to match the
output for PDF/PS backends for the vertical font check.
2006-06-29 04:10:35 +02:00
Carl Worth
2e2799d4f9 Ignore degenerate-path 2006-06-29 02:41:46 +02:00
Carl Worth
c90cc4e33f Update reference images for ft-text-vertical-layout 2006-06-29 02:41:17 +02:00
Jeff Muizelaar
20df4af126 Add new test case degenerate-path to show current 'bug' 2006-06-25 15:48:48 +02:00
Carl Worth
d2ea21b4ae ft-text-antialias-none: Update reference images and igore list.
Add a new ps reference image due to slightly different rasterization. Also
update pdf and svg backends to ignore this test since those backends do not
support ANTIALIAS_NONE.

Note in ROADMAP that bug 6759 is fixed now.
2006-06-25 11:48:32 +02:00
Robert O'Callahan
ddead8e061 Surface size getters for xlib
When accessing the underlying drawable etc of an xlib surface, it is
also helpful to be able to get the width and height without a server
round trip. This patch provides those functions.
2006-06-25 11:23:43 +02:00
Carl Worth
7e457cb4c1 Bug 6955: Fix by adding freeze/thaw around scaled_font glyph cache in _cairo_xlib_surface_show_glyphs 2006-06-22 22:32:57 -07:00
Carl Worth
6a58658b73 Add test/glyph-cache-pressure to demonstrate xlib failure (bug 6955) 2006-06-22 22:05:20 -07:00
Behdad Esfahbod
f71313d427 Minor refinements, mostly to configure.in. 2006-06-21 07:05:14 -04:00
Carl Worth
cca08d9bce New bitmap-font test with bundled 6x13 font.
The 6x13 font is a public-domain terminal font from the X
distribution.
2006-06-20 17:48:06 -07:00
Carl Worth
ab8ae66f9d SVG: Fix to not crash on bitmapped glyphs
This is similar to a change that was recently made to the PDF and PS backends.
Bitmap glyphs are not yet drawn correctly, (drawn as filled rectangles instead),
but the crash is at least eliminated.
2006-06-20 17:15:07 -07:00
Carl Worth
651b2a9ab0 test/fallback-resolution: Remove extra call to cairo_show_page 2006-06-19 21:16:03 -07:00
Carl Worth
a3f2d92f11 PDF: Don't fallback due to CAIRO_ANTIALIAS_NONE
This was a gratuitous thing that was causing excessive fallbacks in
mozilla printing to PDF. The only reason it was ever there was to
get some of the tests that rely on CAIRO_ANTIALIAS_NONE to pass.
Instead we now simply don't run those tests against the PDF backend.
2006-06-19 11:03:32 -07:00
Behdad Esfahbod
72e7667ed9 Replace noinst_ with check_, such that nothing is built with default make
target.
2006-06-19 04:29:49 -04:00
Behdad Esfahbod
fdc109dc59 Add create-for-stream.* to .gitignore. 2006-06-19 04:17:19 -04:00
Behdad Esfahbod
d12afb7eac Update .gitignore 2006-06-19 04:12:39 -04:00
Behdad Esfahbod
a28557f55a Reference images for new test... 2006-06-19 04:12:39 -04:00
Jinghua Luo
2f59dd4a5e Turn hinting off to get consistent results for ft-text-vertical-layout test case. 2006-06-19 15:55:12 +08:00
Jinghua Luo
f5b6fc139c Turn hinting off to get consistent results for ft-text-antialias-none test case. 2006-06-19 15:55:12 +08:00
Behdad Esfahbod
ddc01a3c55 Correct comment about expected result in device-offset-positive test. 2006-06-19 03:22:53 -04:00
Behdad Esfahbod
70d3719ec9 Add test device-offset-positive. 2006-06-19 03:20:09 -04:00
Jinghua Luo
4b2b8f939a Add ft-text-antilaias-none test case demonstrating bug #6759. 2006-06-17 16:29:54 +08:00
Ian Osgood
6f0a85c8f7 Update the XCB backend for screen sensitivity. 2006-06-16 22:43:49 -07:00
Behdad Esfahbod
bc4a6796f8 Accept CAIRO_TEST_TARGET being empty or containing a list of backends to test.
The list can be separated by any of space, tab, comma, colon, or semicolon.
Moreover, a CAIRO_TEST_TARGET of e.g. "glitz" matches any subtarget like
"glitz-glx".
2006-06-16 19:01:20 -04:00
Kristian Høgsberg
9ef99d10bb Add test case for the PDF, PS and SVG stream constructors. 2006-06-14 19:21:46 -04:00
Emmanuel Pacaud
8c8bcaf99b SVG: Update of reference images. 2006-06-14 21:09:16 +02:00
Kristian Høgsberg
2cea3a2710 Merge branch 'svg-rewrite' 2006-06-14 15:00:33 -04:00
Carl Worth
65c9c072d2 Update refefence images due to pattern source shift.
The commit that introduced this change is:

commit b104a79502
Author: Bertram Felgenhauer <int-e@gmx.de>
Date:   Tue Jun 13 20:07:28 2006 -0400

    Patch to fix pixman samping location bug (#2488).
2006-06-14 06:40:36 -07:00
Carl Worth
4bdfff477a PS PDF: Update reference images due to truetype subsetting 2006-06-14 06:40:33 -07:00
Carl Worth
e346eca138 Add zero-alpha reference image to Makefile.am for the sake of make dist 2006-06-14 04:58:54 -07:00
Dom Lachowicz
32d049a7bf Bug 5306: test/pdf2png: Add missing include of stdio.h 2006-06-14 04:37:27 -07:00
Bertram Felgenhauer
b104a79502 Patch to fix pixman samping location bug (#2488). 2006-06-13 20:10:59 -04:00