summaryrefslogtreecommitdiffstats
path: root/share/extensions/tests/data/svg/text_types.svg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--share/extensions/tests/data/svg/text_types.svg256
1 files changed, 256 insertions, 0 deletions
diff --git a/share/extensions/tests/data/svg/text_types.svg b/share/extensions/tests/data/svg/text_types.svg
new file mode 100644
index 0000000..191623f
--- /dev/null
+++ b/share/extensions/tests/data/svg/text_types.svg
@@ -0,0 +1,256 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ width="142.15878"
+ height="96.270485"
+ viewBox="0 0 142.15879 96.270485"
+ version="1.1"
+ id="svg5"
+ inkscape:version="1.1-rc (52f87abb86, 2021-05-02)"
+ sodipodi:docname="test_texts.svg"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:svg="http://www.w3.org/2000/svg">
+ <sodipodi:namedview
+ id="namedview7"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ objecttolerance="10.0"
+ gridtolerance="10.0"
+ guidetolerance="10.0"
+ inkscape:pageshadow="2"
+ inkscape:pageopacity="0.0"
+ inkscape:pagecheckerboard="0"
+ inkscape:document-units="px"
+ showgrid="false"
+ inkscape:zoom="4"
+ inkscape:cx="94.625"
+ inkscape:cy="57.125"
+ inkscape:window-width="1920"
+ inkscape:window-height="1017"
+ inkscape:window-x="-8"
+ inkscape:window-y="353"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="layer1"
+ units="px"
+ lock-margins="true"
+ fit-margin-top="5"
+ fit-margin-left="5"
+ fit-margin-right="5"
+ fit-margin-bottom="5" />
+ <defs
+ id="defs2">
+ <rect
+ x="106.13368"
+ y="295.92566"
+ width="211.01872"
+ height="102.38778"
+ id="rect127697" />
+ </defs>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-8.0187893,28.437623)">
+ <text
+ xml:space="preserve"
+ id="regular"
+ style="font-size:3.175px;line-height:125%;font-family:Arial;-inkscape-font-specification:Arial;fill:#000000;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round"
+ x="13.714261"
+ y="5.3445697"><tspan
+ sodipodi:role="line"
+ id="tspan107963"
+ style="stroke-width:0.5"
+ x="13.714261"
+ y="5.3445697">This is a regular text</tspan><tspan
+ sodipodi:role="line"
+ style="stroke-width:0.5"
+ x="13.714261"
+ y="9.3133192"
+ id="tspan107965">With a line break.</tspan></text>
+ <text
+ xml:space="preserve"
+ id="regular-transform"
+ style="font-size:3.175px;line-height:125%;font-family:Arial;-inkscape-font-specification:Arial;fill:#000000;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round"
+ x="85.644661"
+ y="-6.7999878"
+ transform="matrix(1.1841233,0.52555662,-0.38220752,0.67486916,0,0)"><tspan
+ sodipodi:role="line"
+ style="stroke-width:0.5"
+ x="85.644661"
+ y="-6.7999878"
+ id="tspan107965-5">This is regular text</tspan><tspan
+ sodipodi:role="line"
+ style="stroke-width:0.5"
+ x="85.644661"
+ y="-2.8312378"
+ id="tspan166624">with a line break</tspan><tspan
+ sodipodi:role="line"
+ style="stroke-width:0.5"
+ x="85.644661"
+ y="1.1375122"
+ id="tspan166626">and some transforms.</tspan></text>
+ <text
+ xml:space="preserve"
+ style="font-size:3.175px;line-height:125%;font-family:Arial;-inkscape-font-specification:Arial;white-space:pre;inline-size:24.045;fill:#000000;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round"
+ id="inline-size"
+ transform="translate(13.59746,3.7093356)"><tspan
+ x="0"
+ y="11.480255"
+ id="tspan192272"><tspan
+ style="stroke-width:0.5"
+ id="tspan192270">This is an SVG2 </tspan></tspan><tspan
+ x="0"
+ y="15.449005"
+ id="tspan192276"><tspan
+ style="stroke-width:0.5"
+ id="tspan192274">flowed text. </tspan></tspan><tspan
+ x="0"
+ y="19.417755"
+ id="tspan192284"><tspan
+ style="stroke-width:0.5"
+ id="tspan192278">(inlin</tspan><tspan
+ dx="-0.27516687"
+ style="letter-spacing:0.275167px"
+ id="tspan192280">e siz</tspan><tspan
+ dx="0.27516711"
+ style="stroke-width:0.5"
+ id="tspan192282">e)
+</tspan></tspan><tspan
+ x="0"
+ y="23.386505"
+ id="tspan192288"><tspan
+ style="stroke-width:0.5"
+ id="tspan192286">This is a line </tspan></tspan><tspan
+ x="0"
+ y="27.355255"
+ id="tspan192292"><tspan
+ style="stroke-width:0.5"
+ id="tspan192290">break inside that </tspan></tspan><tspan
+ x="0"
+ y="31.324005"
+ id="tspan192296"><tspan
+ style="stroke-width:0.5"
+ id="tspan192294">text.</tspan></tspan></text>
+ <text
+ xml:space="preserve"
+ style="font-size:3.175px;line-height:125%;font-family:Arial;-inkscape-font-specification:Arial;letter-spacing:0.0343958px;fill:#000000;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round"
+ x="13.432274"
+ y="58.195934"
+ id="kerning"><tspan
+ sodipodi:role="line"
+ id="tspan12642"
+ style="stroke-width:0.5"
+ x="13.432274"
+ y="58.195934">This is a <tspan
+ style="letter-spacing:0.320146px"
+ id="tspan25400">text</tspan> with kerns adjusted in tspans</tspan><tspan
+ sodipodi:role="line"
+ style="stroke-width:0.5"
+ x="13.432274"
+ y="62.164684"
+ id="tspan19510">(as Inkscape does it)</tspan></text>
+ <flowRoot
+ xml:space="preserve"
+ style="font-size:12px;line-height:125%;font-family:Arial;-inkscape-font-specification:Arial;fill:#000000;stroke-width:1.88976;stroke-linecap:round;stroke-linejoin:round"
+ id="flowroot"
+ transform="matrix(0.264583,0,0,0.264583,-31.812004,-9.9496733)"><flowRegion
+ id="flowRegion92145"><rect
+ id="rect92147"
+ width="152.30298"
+ height="81.669708"
+ x="314.75946"
+ y="71.957634" /></flowRegion><flowPara
+ id="flowPara92157"
+ style="font-size:10px">This is an SVG1.2 flowed text (flowroot)</flowPara><flowPara
+ id="flowPara92168">And this is a linebreak inside.</flowPara></flowRoot>
+ <flowRoot
+ xml:space="preserve"
+ style="font-size:12px;line-height:20px;font-family:Arial;-inkscape-font-specification:Arial;fill:#000000;stroke-width:1.88976;stroke-linecap:round;stroke-linejoin:round"
+ id="flowroot-abs-lineheight"
+ transform="matrix(0.264583,0,0,0.264583,11.888108,-10.490643)"><flowRegion
+ id="flowRegion92145-9"><rect
+ id="rect92147-2"
+ width="152.30298"
+ height="81.669708"
+ x="314.75946"
+ y="71.957634" /></flowRegion><flowPara
+ id="flowPara92157-6"
+ style="font-size:10px">This is an SVG1.2 flowed text</flowPara><flowPara
+ style="font-size:10px"
+ id="flowPara181051">With absolute line-height</flowPara><flowPara
+ id="flowPara92168-7" /></flowRoot>
+ <flowRoot
+ xml:space="preserve"
+ style="font-size:12px;font-family:Arial;-inkscape-font-specification:Arial;fill:#000000;stroke-width:1.88976;stroke-linecap:round;stroke-linejoin:round"
+ id="flowroot-no-lineheight"
+ transform="matrix(0.264583,0,0,0.264583,11.888108,1.863526)"><flowRegion
+ id="flowRegion92145-9-5"><rect
+ id="rect92147-2-1"
+ width="171.20064"
+ height="66.55159"
+ x="314.75946"
+ y="71.957634" /></flowRegion><flowPara
+ id="flowPara178978">This is an SVG1.2 flowed text</flowPara><flowPara
+ id="flowPara191038">without line height.</flowPara></flowRoot>
+ <text
+ y="4.9445772"
+ x="51.84655"
+ style="font-variant:normal;font-weight:normal;font-stretch:normal;font-size:1.37276px;font-family:Helvetica;-inkscape-font-specification:Helvetica;writing-mode:lr-tb;fill:#110f0d;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.352777"
+ id="manual-kerns"><tspan
+ style="stroke-width:0.352777"
+ x="51.84655 52.646873 52.99144 58.482491 59.282814 59.627373 71.752998 72.553322 72.897888 75.069603 75.869919 76.214493 78.387573 79.187889 79.532463 82.391922 83.192253 83.536812 103.09733 103.89765 104.24221 109.73325 110.53359 110.87815 116.36782 117.16816 117.51272 119.68581 120.48612 120.83068"
+ y="4.9445772"
+ sodipodi:role="line"
+ id="tspan5688">0.50.10.10.10.34.20.54.30.14.5</tspan></text>
+ <text
+ xml:space="preserve"
+ style="font-size:3.175px;line-height:125%;font-family:Arial;-inkscape-font-specification:Arial;direction:rtl;fill:#000000;stroke-width:0.25;stroke-linecap:round;stroke-linejoin:round"
+ x="92.401642"
+ y="36.257484"
+ id="rtl"><tspan
+ sodipodi:role="line"
+ id="tspan94789"
+ style="font-size:3.175px;direction:rtl;stroke-width:0.25"
+ x="92.401642"
+ y="36.257484">This is a text with direction:rtl </tspan></text>
+ <text
+ xml:space="preserve"
+ id="shape-inside"
+ style="font-size:24px;line-height:125%;font-family:Arial;-inkscape-font-specification:Arial;writing-mode:lr-tb;direction:ltr;white-space:pre;shape-inside:url(#rect127697);fill:#000000;stroke-width:1.88976;stroke-linecap:round;stroke-linejoin:round"
+ transform="matrix(0.13229167,0,0,0.13229167,-0.66073416,-0.33036706)"><tspan
+ x="106.13281"
+ y="317.54389"
+ id="tspan192298">This is an SVG2 </tspan><tspan
+ x="106.13281"
+ y="347.54389"
+ id="tspan192300">flowed text (shape </tspan><tspan
+ x="106.13281"
+ y="377.54389"
+ id="tspan192302">inside)</tspan></text>
+ <text
+ xml:space="preserve"
+ style="font-size:5.33333px;line-height:125%;font-family:Arial;-inkscape-font-specification:Arial;writing-mode:lr-tb;direction:ltr;fill:#000000;stroke-width:1.88976;stroke-linecap:round;stroke-linejoin:round"
+ x="13.65625"
+ y="-19.117189"
+ id="title"><tspan
+ sodipodi:role="line"
+ id="tspan156918"
+ x="13.65625"
+ y="-19.117189"
+ style="font-size:5.33333px;direction:ltr">This is a test document containing different transformed </tspan><tspan
+ sodipodi:role="line"
+ x="13.65625"
+ y="-12.450527"
+ style="font-size:5.33333px;direction:ltr"
+ id="tspan163610">text elements that were created using different methods.</tspan><tspan
+ sodipodi:role="line"
+ x="13.65625"
+ y="-5.7838631"
+ style="font-size:5.33333px;direction:ltr"
+ id="tspan168431">The containing layer has a transform applied as well.</tspan></text>
+ </g>
+</svg>