Re: svg in MS Windows
- From: vwf <vwf vulkor net>
- To: dia-list gnome org
- Subject: Re: svg in MS Windows
- Date: Thu, 7 Jun 2012 07:05:08 +0200
On Wed, Jun 06, 2012 at 09:55:47PM +0200, Steffen Macke wrote:
Which Dia version do you use on Windows (and from where did you
download it? - also there's the Portable version and the installer
version). Information regarding the operating system might also help
to backcheck on your problem.
Hi Steffen,
The Windows version I download from http://dia-installer.de/
dia-setup-0.97.2-1.exe
The Linux version is the version in Debian Stable: Dia version 0.97.1
On Linux svg shapes work fine, on Windows not.
If shapes that you've created are causing problems, it might be a
good idea to present a sample file. This might make it much
easier to track down the problem - if it's related to the shape and
not the installation.
OK. I made a simple one for you, a single square. The shape is made with
Inkscape (the complex shape is made with Inkscape too). I did not check
the CR/LF problem, but with the shape-file dia does not bother.
svgtest.shape:
<?xml version="1.0"?>
<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns"
xmlns:svg="http://www.w3.org/2000/svg">
<name>SVG Test</name>
<icon>svgtest.png</icon>
<connections>
<point x="0" y="0" />
<point x="0" y="5" />
<point x="5" y="5" />
<point x="5" y="0" />
</connections>
<aspectratio type="fixed" />
<svg:svg width="5.0" height="5">
<svg:image x="0" y="0" width=5" height="5" href="test.svg"></svg:image>
</svg:svg>
</shape>
test.svg:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
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://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="322"
height="322"
id="svg2"
version="1.1"
inkscape:version="0.48.3.1 r9886"
sodipodi:docname="svg.svg"
inkscape:export-filename="/home/fulko/svgtest.png"
inkscape:export-xdpi="6.9875779"
inkscape:export-ydpi="6.9875779">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.35"
inkscape:cx="-205.71428"
inkscape:cy="117.85714"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="759"
inkscape:window-height="661"
inkscape:window-x="781"
inkscape:window-y="349"
inkscape:window-maximized="0"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-87.85714,-345.36218)">
<rect
style="fill:none;stroke:#000000;stroke-width:30;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
id="rect2985"
width="292"
height="292"
x="102.85714"
y="360.36218"
ry="0"
rx="0" />
</g>
</svg>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]