smaller font to fit everything inside ring
This commit is contained in:
parent
d78138a067
commit
3243e828be
3 changed files with 14 additions and 24 deletions
|
@ -7,7 +7,7 @@
|
|||
viewBox="0 0 210 297"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
inkscape:version="1.1.2 (b8e25be833, 2022-02-05)"
|
||||
inkscape:version="1.4.2 (ebf0e94, 2025-05-08)"
|
||||
sodipodi:docname="flaschenring_template.svg"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
|
@ -43,17 +43,19 @@
|
|||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="2.8"
|
||||
inkscape:cx="162.32143"
|
||||
inkscape:cy="888.21429"
|
||||
inkscape:cx="123.57143"
|
||||
inkscape:cy="1011.6071"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1377"
|
||||
inkscape:window-x="-2568"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1009"
|
||||
inkscape:window-x="390"
|
||||
inkscape:window-y="1432"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:pagecheckerboard="0" />
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:deskcolor="#d1d1d1" />
|
||||
<metadata
|
||||
id="metadata5">
|
||||
<rdf:RDF>
|
||||
|
@ -92,21 +94,21 @@
|
|||
y="-239.30811"
|
||||
x="-2.7096312"
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-weight:normal;font-size:22.5778px;line-height:1.25;font-family:sans-serif;letter-spacing:1.25677px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
|
||||
style="font-style:normal;font-weight:normal;font-size:9.87777778px;line-height:1.25;font-family:Arial;letter-spacing:1.25677px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583;-inkscape-font-specification:Arial;font-stretch:normal;font-variant:normal"
|
||||
id="text836-2"
|
||||
transform="translate(0.04036888,-0.16279458)"><textPath
|
||||
xlink:href="#path815-3-5-2"
|
||||
id="textPath866-9"
|
||||
style="font-size:11.2889px;letter-spacing:1.27265px;stroke-width:0.264583">123456789</textPath></text>
|
||||
style="font-size:9.87777778px;letter-spacing:1.27265px;stroke-width:0.264583;-inkscape-font-specification:Arial;font-family:Arial;font-weight:normal;font-style:normal;font-stretch:normal;font-variant:normal">123456789</textPath></text>
|
||||
<text
|
||||
y="-239.30811"
|
||||
x="-2.7096312"
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-weight:normal;font-size:22.5778px;line-height:1.25;font-family:sans-serif;letter-spacing:1.25677px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:9.87778px;line-height:1.25;font-family:Arial;-inkscape-font-specification:Arial;letter-spacing:1.25677px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
|
||||
id="text836-2-7"
|
||||
transform="rotate(180,30.245147,266.711)"><textPath
|
||||
xlink:href="#path815-3-5-2-3"
|
||||
id="textPath866-9-6"
|
||||
style="font-size:11.2889px;letter-spacing:1.27265px;stroke-width:0.264583">123456789</textPath></text>
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:9.87778px;font-family:Arial;-inkscape-font-specification:Arial;letter-spacing:1.27265px;stroke-width:0.264583">123456789</textPath></text>
|
||||
</g>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.5 KiB |
|
@ -1,12 +0,0 @@
|
|||
#!/bin/bash
|
||||
#Getestet mit inkscape --version
|
||||
#Inkscape 1.2.2 (732a01da63, 2022-12-09)
|
||||
|
||||
sed "s/123456789/"$1"/g" flaschenring_template.svg > flaschenring_$1_temp.svg
|
||||
sleep 3
|
||||
inkscape --export-text-to-path -o flaschenring_$1_temp2.svg flaschenring_$1_temp.svg
|
||||
sleep 3
|
||||
inkscape --batch-process --actions="select-by-id:textbasepath;delete" -o flaschenring_$1.svg --with-gui flaschenring_$1_temp2.svg
|
||||
sleep 3
|
||||
rm flaschenring_$1_temp.svg
|
||||
rm flaschenring_$1_temp2.svg
|
Loading…
Add table
Reference in a new issue