[cairo] [PATCH] PDF: gradients working again; stroking/nonstroking operations separated

Miklós Erdélyi erdelyim at gmail.com
Fri Jun 30 07:12:18 PDT 2006


Gradients are working again in the PDF backend with the
stroking/nonstroking operations separated.
--
The problem was that because of the pause/resume_content_stream
functions the patterns were put into use before the XObject and right
after emitting them, so the new XObject resetted the previously set
pattern. Now the selecting of patterns is done after
resume_content_stream. The emitting of solid patterns is also
separated from the other types of patterns.
This patch causes a strange thing in Inkscape's PDF printing: when
alpha gradients are used, fallback images are generated (which is
good), but their pattern transformation isn't correct somehow. Because
of this the further effects of the patch should be investigated.
Cheers,
miklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: application/octet-stream
Size: 8934 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20060630/45dd4f59/patch.obj


More information about the cairo mailing list