IOn Wed, 17 Oct 2007 12:22:30 -0700 MenTaLguY <mental@...3...> wrote:
On Wed, 17 Oct 2007 11:35:54 -0700, Carl Worth <cworth@...573...> wrote:
[...]
If so, what's the cairo-based exporter still missing? Anything we can fix in cairo itself?
The general problem people are complaining about right now is that it the cairo-based exporter rasterizes a lot of stuff that the old exporter didn't.
I think some of the issues (e.g. proper metasurface-based groups) are fixed in cairo trunk now, but I don't know if they've hit a release yet (and even if they have, there's no guarantee that, on Linux, the users/testers have a recent enough cairo installed to benefit).
I think two things we need to do at this point are:
- get people reporting PDF problems to include their cairo version
in the report (this may be something we should display in the about dialog)
- find someone to assemble a test suite of cases we expect PDF
export not to rasterize[1]
Here's a quick test using your PDF test matrix; I don't have time right now to asssemble a more complete test suite.
Using cairo 1.4.10, which is the latest stable release:
stroke-dasharray: OK fill-opacity (solid): OK stroke-opacity (solid): OK linearGradient (fill): OK linearGradient (stroke): OK radialGradient (fill): OK radialGradient (stroke): OK stop-opacity: OK image: OK fill-opacity (gradient): FAILED (rasterized) stroke-opacity (gradient): OK text: OK flowText: OK opacity (path): FAILED (rasterized) opacity (image): FAILED (rasterized) opacity (fill+stroke): FAILED (rasterized) opacity (group): FAILED (rasterized)
And using cairo git as of 2007-10-18:
stroke-dasharray: OK fill-opacity (solid): OK stroke-opacity (solid): OK linearGradient (fill): OK linearGradient (stroke): OK radialGradient (fill): OK radialGradient (stroke): OK stop-opacity: OK image: OK fill-opacity (gradient): OK stroke-opacity (gradient): OK text: OK flowText: OK opacity (path): OK opacity (image): OK opacity (fill+stroke): OK opacity (group): OK
-- Gustav