--- \o/ ---
Sent from my phone

On Mar 31, 2010, at 1:39 PM, Robert Coup <[email protected]> wrote:

2010/4/1 Artem Pavlenko <[email protected]>:
I haven't read about how an SVG image can be embedded in a PDF file. My
question is, would this require the implementation of a separate PDF
renderer for SVG, just as Robert Coup says about a Cairo-based one?


OK, SVG->PDF needs some r&d, it should be easy, though.

re:Cairo - it hasn't fine control required to implement features we're
discussing, Robert could verify this please?


It does stuff well, but it does lack flexibility.

Yes. It seems the Cairo API would be excellent for using for "map adornments" (legend,scalebar,etc) but not yet flexible enough if target is rather post-processable output or (layered) geopdf output.
Last time I looked
it didn't do things like layers, re-using symbols, etc - it was
reasonably "dumb".

Yes I can confirm this but it depends on the backend. Some issues may limitations in the flexibility of the Cairo API and some in the backend for a given surface. I've never asked the Cairo devs about layering support but at least for font embedding the svg surface surface code inside Cairo just needs some work that the PDF surface already supports.

Would need some more investigation. Might be an
option to work on Cairo to improve it if all it needs is some better
hooks for client apps to do things at various points during the
process...

Converting SVG to PDF is reasonably straightforward, as they're both
vector formats. I think there are also a number of tools to add PDF
docs together (at a sub-page level).

Rob :)
_______________________________________________
Mapnik-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-devel
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to