[mapserver-users] Cairo SVG PDF output

2012-10-03 Thread Christy Nieman
Hi all, I have been looking into something I just noticed when I change the output of a map draw from png to Cairo svg or pdf. A 300px by 300px png image became a 375 px by 375 px svg according to Inkscape. I realized this is because the size of the svg was specified in points and Inkscape

Re: [mapserver-users] Cairo SVG PDF output

2012-10-03 Thread Rahkonen Jukka
Hi, It feels like it could be useful to have for example something like FORMATOPTION DPI=xxx that could be used when defining PDF outputformat http://www.mapserver.org/mapfile/outputformat.html#outputformat I am not sure what GDAL configuration option GDAL_PDF_DPI is doing but perhaps it is

Re: [mapserver-users] Cairo SVG PDF output

2012-10-03 Thread thomas bonfort
Cairo is expecting us to create our canvas with width and height specified in points, whereas we are providing pixels, so this would be a bug. -- thomas On Wed, Oct 3, 2012 at 7:03 PM, Christy Nieman cnie...@dmsolutions.ca wrote: Hi all, I have been looking into something I just noticed when