Commit graph

1900 commits

Author SHA1 Message Date
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
Carl Worth
1b11d3830b test/zero-alpha: Drop REPS from 100 to 10 for a faster test.
Hopefully this still triggers the bug of interest. I think it should.
2006-06-13 16:42:06 -07:00
Carl Worth
2d269664f1 Add new zero-alpha test to demonstrate (X server?) bug found by Paul Giblock 2006-06-13 16:13:23 -07:00
Kristian Høgsberg
17d41d1f71 Only run fallback-resolution test case when all of PDF, PS and SVG are enabled. 2006-06-13 17:24:36 -04:00
Carl Worth
0662928e4f Clarify that fallback_resolution acts on a per-page granularity.
This explains why the SVG result from the fallback-resolution test
doesn't actually show multiple resolutions in effect at the same time.
2006-06-10 09:44:30 -07:00
Carl Worth
13ba5316fb Test PS and SVG backends in addition to PDF in test/fallback-resolution. 2006-06-10 09:15:31 -07:00
Carl Worth
ebb53b2572 Add text and stroke to falback-resolution test (showing bugs in each). 2006-06-10 08:21:18 -07:00
Carl Worth
b2f274b3e8 New API: Replace cairo_{ps,pdf,svg}_set_dpi with new cairo_surface_set_fallback_resolution.
This just provides the mechanics for storing the value and removing the old
function calls. The new value is still not used anywhere (though nor where
the old values), so there should be no functional change (other than forcing
any programs calling the old API to be updated).
2006-06-09 16:52:17 -07:00
Carl Worth
a812b3c490 Ignore ft-text-vertical-layout binary 2006-06-09 15:37:50 -07:00
Carl Worth
d3c782320a Rename ft-text-vertical-layout reference image according to standard convention.
The standard convention is that the ARGB32 reference image has no
-argb32- component in its name (no real important reason, just
historical). So let's be consist and rename:
test/ft-text-vertical-layout-argb32-ref.png -> test/ft-text-vertical-layout-ref.png
2006-06-07 17:38:09 -07:00
Carl Worth
b7b3d05d78 Fix bug in get-group-target (in the test itself) letting it now pass. 2006-06-07 14:00:15 -07:00
Jinghua Luo
45ca22e5e1 Make image-*-ref.png image as reference image. 2006-06-08 04:06:30 +08:00
Jinghua Luo
6b5be506ed Add ft-text-vertical-layout test case for vertical layout. 2006-06-08 03:33:38 +08:00
Carl Worth
b7c7d2e57c Add new test get-group-target (currently failing with paginated).
This test exercises the combination of cairo_get_group_target along
with cairo_surface_get_device_offset. Something funny is currently
going on with the surfaces based on the paginated surface.
2006-06-07 10:37:29 -07:00
Carl Worth
53bf2f8d5d Remove debugging "prints" of images from test/device-offset.c 2006-06-07 10:29:33 -07:00
Carl Worth
ef10a0403a Remove initial, final, and duplicate blank lines.
This patch was produced by running git-stripspace on all *.[ch] files
within cairo. Note that this script would have also created all the changes
from the previous commits to remove trailing whitespace.
2006-06-06 15:50:33 -07:00
Carl Worth
5278de0997 Remove all remaining trailing whitespace.
This patch was produced with the following (GNU) sed script:

	sed -i -r -e 's/[ \t]+$//'

run on all *.[ch] files within cairo.

Note that the above script would have also created all the changes
from the previous commits to remove trailing whitespace.
2006-06-06 15:41:31 -07:00
Carl Worth
00592e0757 Remove trailing whitespace from lines with a single brace.
This patch was produced with the following (GNU) sed script:

	sed -i -r -e '/^[ \t]*[{}][ \t]*/ s/[ \t]+$//'

run on all *.[ch] files within cairo.
2006-06-06 15:38:58 -07:00
Carl Worth
4670366ede Remove trailing whitespace from lines that look like comments.
This patch was produced with the following (GNU) sed script:

	sed -i -r -e '/^[ \t]*\/?\*/ s/[ \t]+$//'

run on all *.[ch] files within cairo, (though I manually excluded
src/cairo-atsui-font.c which has a code line that appears as a comment
to this script).
2006-06-06 15:35:48 -07:00
Carl Worth
80b8deb1e4 Remove extraneous whitespace from "blank" lines.
This patch was produced with the following (GNU) sed script:

	sed -i -r -e 's/^[ \t]+$//'

run on all *.[ch] files within cairo.
2006-06-06 15:25:49 -07:00
Christian Biesinger
79c86b04a7 Add "html" Makefile target to run make-html.pl 2006-05-28 16:50:54 +02:00
Christian Biesinger
508d0955fb Distribute make-html.pl 2006-05-27 15:00:49 +02:00