[OSM-talk] SVG to PDF

Jochen Topf jochen at remote.org
Tue Dec 19 16:12:38 GMT 2006


On Tue, Dec 19, 2006 at 03:22:03PM -0000, Robert Hart wrote:
> > Is anybody aware of any Open Source software which turns SVG into PDF
> > keeping the data as vectors and not rasterizing it? Inkscape, rsvg,
> > batik all rasterize the image and then put it into the PS/PDF. You'll
> see
> > that if you zoom in. But PDF is a vector format, so it could be done
> > better. This is obviously difficult in cases where you use the more
> > advances features of SVG like filtering, but in our case with the maps
> it
> > should work just fine.
> 
> It can be done. See http://www.bathterror.free-online.co.uk/bathmap.pdf 
> It does take forever to render though.

Well that map shows the same pixelizing that I have seen anywhere else.
The text is unreadable when you zoom in.

> I think what I did goes something like: print in inkscape and choose
> "using operators". Obviously print to file, and then convert the
> resulting postscript to pdf. 
> 
> There also seem to be various flavours of pdf in inkscape's save as
> menu, and rsvg claims to support pdf. 

As I said, there are several tools, but I haven't found one yet which
doesn't pixelize like in your example.

Jochen
-- 
Jochen Topf  jochen at remote.org  http://www.remote.org/jochen/  +49-721-388298





More information about the talk mailing list