bulia byak wrote:
On Wed, Nov 26, 2008 at 5:17 PM, Adrian Johnson <ajohnson@...1679...> wrote:
bulia byak wrote:
Adrian: what would you say to an alternative to "rasterize transparency" PS/EPS backend approach, which would where possible intersect semitransp shapes and fill then with flat color or no-transparency gradients to preserve appearance?
It would be a nice feature to have. But since it is something that can be done by the application, adding this to cairo is not a high priority.
Well, the same applies to the rasterization - it can also, in principle, be done by the application. Wouldn't it be better, from architecture viewpoint, to have both approaches implemented in one library?
I agree that this would be better done in cairo for all applications to use. In the case of rasterization we already have the code for rasterizing the fallback images. The problem with intersecting paths is we don't have any code in cairo for doing that (and adding new library dependencies to cairo is unlikely to be accepted). I'm happy to review any well written patches that add this functionality to cairo. But implementing it myself is not very high on my TODO list. Right now I am more interesting in implementing things like PDF Type 6/7 gradients, color management, and supporting the additional PDF features people are requesting like PDF/A, metadata and hyperlinks.