summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-04-27Correct documentation to say "user space", not "user-space" where appropriate.Carl Worth1-5/+5
2006-04-27Use CLEAR operator in mask.c in order to not trig image fallbackEmmanuel Pacaud1-2/+1
for polygon masking. (cherry picked from 30b2d1c5df9d1c6b536838a6a3407fdfa7198e29 commit)
2006-04-27Optimisation of CLEAR operator in meta-surface.Emmanuel Pacaud2-1/+16
This optimisation takes care to not replay what was done before surface is cleared. We don't erase recorded commands since we may have earlier snapshots of this surface. (cherry picked from 926e2494ca2211e9117ab70fc427208d125e1bd5 commit)
2006-04-27Implement paginated create_similar, moving similar images down to PS and PDF.Emmanuel Pacaud3-12/+19
The new paginated create_similar simply forwards to target backend create_similar. We maintain the fact that PS and PDF surfaces are returning image surfaces for create_similar by moving that explicitly to their own create_similar functions. (This commit is the combination of the following original commits: 6b69e8c012adb4f2fc2ee9c1579fed8214e8f510 2589db92a4395f8e900dbc4eafc45982f0d985d3 )
2006-04-27paginated: Remove memory leak of analysis surface from _paint_pageCarl Worth1-0/+2
Thanks to Henning Noren <henning.noren.402@student.lu.se> for pointing this out.
2006-04-27Add reference to cairo_surface_set_user_data in docs. for ↵Carl Worth1-0/+3
cairo_image_surface_create_for_data
2006-04-26Move 1.4 schedule up. Add more bugs from sunmoon1997Carl Worth1-1/+3
To hit the Firefox 3 schedule in early 2007 we'll need to have a 1.4 release out much sooner. Let's shoot for October 2006 which gives 6 months between 1.2 and 1.4. Also, sunmoon1997 has identified a couple more important issues to be fixed before 1.2 releases.
2006-04-26Add a couple more items to the 1.2.0 ROADMAPCarl Worth1-0/+2
2006-04-26Update ROADMAP with suggestions from discussion of 1.1.2 snapshotCarl Worth1-0/+7
2006-04-27Use a single LDADD variable instead of a per-test oneChristian Biesinger1-86/+7
to avoid repeating the list of tests.
2006-04-26Remove cairo.def from the generated tar file. It's not useful there.Carl Worth2-115/+118
2006-04-26WIN32: Define SHADEBLENDCAPS and SB_NONE if they are not defined. (from Tor ↵Behdad Esfahbod1-0/+8
Lillqvist) (cherry picked from d3ff5228a205ffb29e85907830d5fc72e2ef5358 commit)
2006-04-26Add leaky-dash test case demonstrating bug #4863.Carl Worth3-0/+72
Test case for bug #4863: stroking problems with wide dashed lines https://bugs.freedesktop.org/show_bug.cgi?id=4863
2006-04-26Remove deleted reference images from Makefile.amCarl Worth1-32/+1
2006-04-26Remove redeundant -rgb24-ref.png images.Carl Worth35-13/+22
In several cases the -rgb24 reference images were identical to the -ref images. So we change the logic to find the latter if the former doesn't exist, and then we remove the redundant images.
2006-04-25Support fontconfig embeddedbitmap option/handle transformation issue as well.Zhe Su1-3/+21
2006-04-25Increment CAIRO_VERSION to 1.1.3 after making the 1.1.2 snapshotCarl Worth1-1/+1
2006-04-25Remove from EXTRA_DIST reference images which don't exist1.1.2Carl Worth1-7/+0
2006-04-25Change release targets as appropriate for a snapshot, not a release.Carl Worth1-3/+3
The big change here is to change the upload directory to be the snapshots directory rather than the releases directory. We also use make dist rather than make distcheck since there are currently a few tests still failing.
2006-04-25Add release vs. snapshot distinction to version increment instructionsCarl Worth1-2/+3
2006-04-25Increment CAIRO_VERSION to 1.1.2 and libtool versioning to 6:0:4Carl Worth1-3/+3
2006-04-25Add some notes for the 1.1.2 snapshotCarl Worth2-1/+116
2006-04-25Update PS and PDF reference images for change in font optionsCarl Worth8-0/+0
2006-04-25Merge branch 'behdad-colored-fails' into cairoCarl Worth1-1/+9
2006-04-25Use white on red for failures.Behdad Esfahbod1-1/+1
2006-04-25Set background color to red for test failures printing on a terminal.Behdad Esfahbod1-1/+9
2006-04-25Fix default font options for PS and PDF backends.Carl Worth3-5/+24
The paginated surface layer was missing its get_font_options function. It now defers to the target surface. The PDF backend already had a get_font_options function, but the PS backend was also missing it. This should fix the problem with 72DPI hinting seen in glyph paths in PostScript output. Thanks to Owen Taylor for identifying this problem and the correct fix.
2006-04-25Merge branch 'configure-backends'Behdad Esfahbod1-107/+98
2006-04-25Better message when backends are disabled.Behdad Esfahbod1-1/+3
2006-04-25Unified handling of --enable-backend options.Behdad Esfahbod1-107/+96
2006-04-25PDF: Execute entire path in user coordinates when stroking so that line ↵Keith Packard1-9/+86
params are interpreted correctly
2006-04-25PDF: Add SMask output and simplify analysis to support all OVER operations.Carl Worth1-90/+199
With this SMask support, the PDF backend is now able to handle a very large subset of the things that are likely to be thrown at it in common operation, (for example, when handling images and text from web pages).
2006-04-25PDF: Remove unused backend functions.Carl Worth1-362/+4
Since the switch to using paginated, we have a guarantee that the following functions will never be called. So we drop them now: _cairo_pdf_surface_composite _cairo_pdf_surface_fill_rectangles _cairo_pdf_surface_composite_trapezoids _cairo_pdf_surface_old_show_glyphs
2006-04-25Augment tests to do better testing of paths/images with alpha.Carl Worth13-3/+225
Add a new cairo_test_paint_checkered function so that tests that draw with alpha can easily put an easy-to-see checkered background in place first. Add new tests caps-joins-alpha and paint-source-alpha that do simple tests of strokes and image painting with source pattern alpha. Also, add the checkered background to paint-with-alpha for consistency.
2006-04-24Add PDF-specific reference image for scale-source-surface-paintCarl Worth1-0/+0
It only fails because the PDF ouput doesn't preserve the NEAREST filter attribute. There might be a way to get something like this in the PDF, but it's not the point of the test.
2006-04-24PDF: Fix surface pattern transformation and support for EXTEND_NONE.Carl Worth1-13/+72
There's a bunch of careful matrix transformation here needed to resolve the differences between cairo and PDF pattern matrices, (primarily due to the different location for the origin). This fixes the several PDF test suite failures that recently appeared when we switched from ARGB32 to RGB24 source surface patterns.
2006-04-24Trivial indentation fixCarl Worth1-1/+1
2006-04-24Prefer RGB24 over ARGB32 for source surfaces in tests.Carl Worth6-6/+6
Some tests were using source surfaces created as ARGB32 even though all alpha values are entirely opaque. This meant these tests were triggering more fallbacks than strictly necessary for what the tests are ttrying to do.
2006-04-24Fix broken error-checking in cairo_{ps,pdf}_surface_set_dpiCarl Worth2-2/+2
2006-04-24Fix invalid restore that was causing subsequent pages after first to be invertedCarl Worth1-1/+3
2006-04-23Fix create_xcb_surface signatureChristian Biesinger1-1/+5
2006-04-20PDF: Fix reference images inadvertently committed as PDF not PNGCarl Worth3-0/+0
2006-04-20PDF: Cleanup error handling of emit_image_rgb_dataCarl Worth1-17/+20
2006-04-19PDF: Add simple implementation of _cairo_pdf_surface_show_glyphs (text as ↵Carl Worth5-3/+264
paths). This isn't very exciting text output---it simply turns every call to cairo_show_glyphs into a single filled path. But at the very least, text will no longer trigger image fallbacks for the PDF backend. With this commit, the following tests change from all-fallback to all-native for the PDF backend: show-text-current-point text-antialias-gray text-antialias-none text-antialias-subpixel text-cache-crash text-rotate There are rasterization differences in the output (cairo vs. freetype) so this commit also adds new PDF-specific reference images for some of those tests so that the suite continues to report PASS.
2006-04-18Use fallbacks in PDF backend for CAIRO_ANTIALIAS_NONE.Carl Worth1-2/+14
Perhaps there's a way to preserve that hint in PDF output, but until we have code that actually does that, the correct thing to do is to call it unsupported and let the fallbacks do their thing. With this commit, the two regressions that were recently introduced now pass again. Specifically: rectangle-rounding-error unantialiased-shapes
2006-04-18Add implementation of _cairo_pdf_surface_paint (and fix emit_surface_pattern).Carl Worth1-19/+46
Fix general broken-ness in emit_surface_pattern, enough so that a new implementation of _cairo_pdf_surface_paint does something useful. With this commit, the following tests switch from all-fallback to all-native and still pass the test suite with flying colors: caps-joins caps-sub-paths clip-fill-rule clip-fill-rule-pixel-aligned clip-nesting clip-twice dash-caps-joins dash-offset-negative leaky-polygon line-width paint path-data transforms Meanwhile, the following two tests also switch from fallback to native, but cause the test suite to complain about failures. These both look like a mostly harmless failure to respect the ANTIALIAS_NONE hint in the PDF output: rectangle-rounding-error-pdf-argb32-out.pdf unantialiased-shapes-pdf-argb32-out.pdf
2006-04-18Fix stale code in comment.Carl Worth1-1/+1
2006-04-19Fixing bad mergeChristian Biesinger1-1/+0
The merge in 66ed9811cc542d99cb5a6b6b792c9a9f0832fbf9 re-added this line, which makes cairo link to C++ libraries even on non-BeOS systems. This was originally fixed in 69acfa6576e8d2b97e3e3b8c06badf5486ae0315
2006-04-18Add support for _cairo_pdf_surface_stroke.Carl Worth1-14/+130
Generalize all functions that emit a source pattern to emit both for the stroking and non-stroking PDF properties. Also add an implementation of _cairo_pdf_surface_stroke. With this commit in place, the following tests change from all-fallback to all-native output while no tests report any new failures: dash-zero-legnth fill-and-stroke multi-page new-sub-path rel-path self-intersecting
2006-04-19Use calloc rather than malloc+memsetChristian Biesinger3-10/+3