On Wednesday 03 January 2007 13:06, thomas.deweese@...2076... wrote:
Hi Sean,
Sean Wheller <sean@...2075...> wrote on 01/02/2007 11:59:38 AM:
Whenever I have a document with a flowRegion batik is failing. Is there a work around?
<flowRoot
flowRoot was from SVG 1.2 (be warned it is no longer part of SVG 1.2).
So you need to mark your SVG Document as being version 1.2 (the version attribute must be on root svg element):
<svg version="1.2"
y="347.66333" /></flowRegion><flowPara id="flowPara1353">Your FAF numbers are
081123456,082479628,083635846,084695691,085965555, 086789654</flowPara></flowRoot>
We also require that the 'flowPara' element be wrapped in a 'flowDiv' element.
OK, now that looks like a problem in Inkscape.
I am using Inkscape 0.43 (Mar 9 2006) on Kubuntu 6.0.6 (Dapper). Inkscape automatically creates the svg as follows:
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://web.resource.org/cc/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="744.09448819" height="1052.3622047" id="svg2" sodipodi:version="0.32" inkscape:version="0.43" sodipodi:docbase="/home/sean" sodipodi:docname="test.svg">
Note it does not supply @version but does create @id with value of svg2.
Sean Wheller wrote:
On Wednesday 03 January 2007 13:06, thomas.deweese@...2076... wrote:
So you need to mark your SVG Document as being version 1.2 (the version attribute must be on root svg element):
<svg version="1.2"
[...]
I am using Inkscape 0.43 (Mar 9 2006) on Kubuntu 6.0.6 (Dapper). Inkscape automatically creates the svg as follows:
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://web.resource.org/cc/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="744.09448819" height="1052.3622047" id="svg2" sodipodi:version="0.32" inkscape:version="0.43" sodipodi:docbase="/home/sean" sodipodi:docname="test.svg">
Note it does not supply @version but does create @id with value of svg2.
After a quick test: v0.45+devel does the same when saving as "Inkscape SVG" but not when saving as "Plain SVG". In a "Plain SVG", @version is present but it is set to "1.0". I do not know enough about the SVG standard to know whether the version number Inkscape writes is correct or not. Indeed I think Inkscape should also write @version in "Inkscape SVG"s, could you please post a bug report?
Regards, Johan
On Wednesday 03 January 2007 16:41, J.B.C.Engelen@...2072... wrote:
Sean Wheller wrote:
On Wednesday 03 January 2007 13:06, thomas.deweese@...2076... wrote:
So you need to mark your SVG Document as being version 1.2 (the version attribute must be on root svg element):
<svg version="1.2"
[...]
I am using Inkscape 0.43 (Mar 9 2006) on Kubuntu 6.0.6 (Dapper). Inkscape automatically creates the svg as follows:
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://web.resource.org/cc/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="744.09448819" height="1052.3622047" id="svg2" sodipodi:version="0.32" inkscape:version="0.43" sodipodi:docbase="/home/sean" sodipodi:docname="test.svg">
Note it does not supply @version but does create @id with value of svg2.
After a quick test: v0.45+devel does the same when saving as "Inkscape SVG" but not when saving as "Plain SVG". In a "Plain SVG", @version is present but it is set to "1.0". I do not know enough about the SVG standard to know whether the version number Inkscape writes is correct or not. Indeed I think Inkscape should also write @version in "Inkscape SVG"s, could you please post a bug report?
Done.
http://sourceforge.net/tracker/index.php?func=detail&aid=1627081&gro...
On Wednesday 03 January 2007 17:53, Sean Wheller wrote:
On Wednesday 03 January 2007 16:41, J.B.C.Engelen@...2072... wrote:
Sean Wheller wrote:
On Wednesday 03 January 2007 13:06, thomas.deweese@...2076... wrote:
[...]
I am using Inkscape 0.43 (Mar 9 2006) on Kubuntu 6.0.6 (Dapper). Inkscape automatically creates the svg as follows:
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://web.resource.org/cc/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="744.09448819" height="1052.3622047" id="svg2" sodipodi:version="0.32" inkscape:version="0.43" sodipodi:docbase="/home/sean" sodipodi:docname="test.svg">
Note it does not supply @version but does create @id with value of svg2.
After a quick test: v0.45+devel does the same when saving as "Inkscape SVG" but not when saving as "Plain SVG". In a "Plain SVG", @version is present but it is set to "1.0". I do not know enough about the SVG standard to know whether the version number Inkscape writes is correct or not. Indeed I think Inkscape should also write @version in "Inkscape SVG"s, could you please post a bug report?
Done.
http://sourceforge.net/tracker/index.php?func=detail&aid=1627081&gro... 3438&atid=604306
Hey looks like I solved this, though my action was not directed at solving the problem.
I am not sure where the problem is now, but I re-installed sodipodi, which I did not reinstall after installing my machine from new this year.
Then I opened Inkscape and adjusted canvas size of an image. This time I changed the unit of measure for the canvas from pt to px. Last time I did not touch it and just left the default selection, thinking that is what was selected.
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, the one in SVN, did not have an unit of measure after the floating point as shown in the diff above.
If somebody can confirm this, then it shows a pointer to the bug listed above.
-- Sean Wheller Technical Author email: sean@...2075... im: seanwhe@...19... skype: seanwhe cel: +27-84-854-9408 web: http://www.inwords.co.za
participants (2)
-
unknown@example.com
-
Sean Wheller