Post by g***@silcom.comPost by Alexandre ProkoudineUpcoming Inkscape 0.47 will feature Spiro live path effect (LPE),
available as Pen/Path tool mode as well. It would be great if
FontForge imported such SVGs and made it possible to go from Inkscape
to FontForge without intermediate Bezier step.
http://en.flossmanuals.net/Inkscape/LivePathEffects
Er, that provides an overview of the Inkscape UI. I need to know
how the data are stored in an SVG file. Since it isn't part of SVG, I
don't see how it can be done, myself...
Inkscape uses its own namespace for things which aren't in SVG.
Here is an example of an Inkscape drawing of a glyph which has a Spiro
path effect applied to it:
<?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="100"
height="100"
id="svg3146"
sodipodi:version="0.32"
inkscape:version="0.46+devel r20895"
version="1.0"
sodipodi:docname="spiro.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape">
<defs
id="defs3148">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 526.18109 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="744.09448 : 526.18109 : 1"
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
id="perspective3154" />
<inkscape:perspective
id="perspective3164"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:path-effect
effect="spiro"
id="path-effect3115"
is_visible="true"
deactivate_knotholder="false" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.450473"
inkscape:cx="22.803921"
inkscape:cy="31.746404"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="569"
inkscape:window-height="474"
inkscape:window-x="0"
inkscape:window-y="49" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-577.19608,-497.40008)">
<path
d="m 626.838,504.98381 c -5.32627,0.86724 -10.39374,3.26883
-14.4375,6.84225 -4.04375,3.57342 -7.05052,8.30694 -8.56643,13.48606
-1.36042,4.64786 -1.51991,9.65993 -0.32336,14.35264 1.19656,4.69272
3.76265,9.04739 7.38045,12.26684 3.84604,3.42256 8.85438,5.51458
13.99218,5.84466 5.13781,0.33007 10.37266,-1.10389 14.62504,-4.00618
0.32356,4.01537 -0.33798,8.10654 -1.91052,11.81532 -2.19548,5.17794
-6.19281,9.57892 -11.15712,12.22218 -5.16138,2.74819 -11.32472,3.56135
-17.02224,2.24582 l -1.15242,4.92796 c 6.44471,2.02246
13.57791,1.77328 19.86578,-0.69398 7.28127,-2.85705 13.30687,-8.63956
16.74859,-15.66339 2.32851,-4.75201 3.51375,-10.05941
3.42805,-15.35055 l -0.40901,-44.43903 -21.06149,-3.8506 0,0 m
0.59375,6.625 11.96875,2.40625 0,33.5 c -3.46583,2.21998
-7.67373,3.25845 -11.77445,2.90583 -4.10073,-0.35262 -8.06956,-2.09421
-11.10553,-4.87327 -3.23251,-2.95898 -5.37784,-7.07012
-6.00105,-11.40789 -0.6232,-4.33777 0.27165,-8.87161 2.45699,-12.67016
3.00921,-5.2306 8.48732,-8.96752 14.45529,-9.86076 l 0,0"
id="path3086"
inkscape:path-effect="#path-effect3115"
inkscape:original-d="m 626.838,504.98381 c -9.87749,2.67371
-20.039,10.5343 -23.00393,20.32831 -2.65976,8.78591 -0.035,20.79114
7.05709,26.61948 7.38489,6.06901 20.24443,6.17363 28.61722,1.83848
2.36319,2.17615 -0.17485,8.22306 -1.91052,11.81532 -2.39984,4.96688
-6.26689,9.66975 -11.15712,12.22218 -5.07372,2.6482 -10.66322,3.21867
-17.02224,2.24582 -3.52557,-2.99248 -5.5324,2.91824 -1.15242,4.92796
9.04423,2.68334 13.74603,1.84611 19.86578,-0.69398 7.05988,-2.9303
12.95522,-9.02721 16.74859,-15.66339 2.60186,-4.55173
2.86032,-11.97336 3.42805,-15.35055 l -0.40901,-44.43903 c
-0.39168,-1.89886 -18.57896,-4.09365 -21.06149,-3.8506 z m
0.59375,6.625 c 3.98819,-0.80897 8.19204,0.83545 11.96875,2.40625
0,11.16667 0,22.33333 0,33.5 -7.00983,4.02956 -17.30634,3.27952
-22.87998,-1.96744 -5.90689,-5.56068 -6.8001,-16.64766
-3.54406,-24.07805 2.34105,-5.34234 8.73894,-8.70126 14.45529,-9.86076
z"
sodipodi:nodetypes="caacaaccaaccccccaac" />
</g>
</svg>