summaryrefslogtreecommitdiff
path: root/source/fitz/svg-device.c
AgeCommit message (Collapse)Author
2013-11-11Remove unused variables causing warningsSebastian Rasmussen
2013-10-11SVG: Fix alpha issues.Robin Watts
While looking at fts_09_0921, I spotted that the alpha values on images and fills aren't being sent. Fix that here, together with broken colors being sent for masks. fts_09_0921 still renders badly due to the lack of support for blend modes.
2013-10-11SVG: Add simple smask support.Robin Watts
The luminosity flag and background color are currently ignored. The clip stack optionally held in the null device is updated here to be a container stack, together with a flags word (currently just used to indicate the type of the container at the current place in the stack), and a user value (used by the SVG device to stash the id for the mask it's generating).
2013-10-11SVG: Add dumb group implementation.Robin Watts
Really just a structure indicator as SVG 1.1 doesn't support blending etc.
2013-10-11SVG: Fix clip stack handling etc.Robin Watts
fts_09_0919.pdf shows up some silly mistakes in the clip stack handling and in the handling of 0 sized pixmaps. Simple fixes.
2013-10-10SVG: Fix fts_01_0106.pdfRobin Watts
A gradient fill that doesn't fill the bbox should be see through (unless background color is set, but we'll worry about that case when I find an example file that uses it). Arrange for the pixmap we draw the gradient fill into to be transparent initially. Also ensure that when we convert to png we preserve transparency.
2013-10-10SVG: Add image mask clip support.Robin Watts
2013-10-10SVG device: All gradient output (using images).Robin Watts
2013-10-10Add fz_new_png_from_pixmapRobin Watts
This accompanies the function formerly known as fz_image_as_png (now renamed to fz_new_png_from_image).
2013-10-09SVG: Support Type3 fonts and stroked fonts.Robin Watts
2013-10-07SVG device: Send text as reusable pathsRobin Watts
2013-10-07Update SVG device to send text as pathsRobin Watts
2013-09-08Separate command and coordinate arrays in fz_path structure.Tor Andersson
2013-09-02Improve SVG pattern handling.Robin Watts
In particular, cope with the cases where xstep/ystep are not the same as the tile width/heights.
2013-07-26Narrow definition of whitespace according to XML spec.Robin Watts
Thanks to Tor for finding the correct definitions for me.
2013-07-25Bug 694402: Fix various SVG output problemsRobin Watts
Images were missing a space, hence giving errors. SVG text gets confused by leading (and repeated) whitespace, so elide it.
2013-06-20Rearrange source files.Tor Andersson