OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Converting SVG to PNG


David you are a lucky charm.

I am not sure where the problem is now, but I re-installed sodipodi.

Then I opened inkscape and canvas size as discussed. This time I changed the 
unit of measure for the canvas from pt to px.

I ran batik and it finally works. So I reverted the file and checked again. 
Sure enough no problem. So I ran a diff on the local file and the one in SVN 
which was created before I had sodipodi installed and before I change the 
canvas unit measure.

The main difference with impact

    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
-   width="744.09448819" 
-   height="1052.3622047" 
+   width="475pt" 
+   height="350pt" 
    id="svg2"
    sodipodi:version="0.32"
    inkscape:version="0.43"
    sodipodi:docbase="/home/sean/work/ericsson/docs/trunk/rfp/celtel/images"
-   sodipodi:docname="hxc-block.svg"> 
+   sodipodi:docname="hxc-block.svg" 
+   version="1.0"> 

Somehow either after actually setting the unit measure for the canvas, not 
just accepting the default or the fact that I installed sodipodi changed the 
behaviour of Inkscape.

I am sure of one thing prior to installing sodipodi, Inkscape was not adding 
the @version to the svg element. Not sure about the unit thing. It could be 
that the added pt in width and height is from me or because of sodipodi. 
Either way the file created without sodipodi installed did not have an unit 
of measure after the floating point.

-- 
Sean Wheller
Technical Author
email: sean@inwords.co.za
im: seanwhe@jabber.org
skype: seanwhe
cel: +27-84-854-9408
web: http://www.inwords.co.za


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]