You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 30, 2021. It is now read-only.
It is a common pattern for Inkscape to put x/y coordinates in a <text> element, only to repeat it again in the <tspan> element. There should be some space saving out of these cases, especially for files with a large number of these elements.
The below test case is from File:CtDNA.svg on Wikimedia Commons:
<gfill="#0bc056">
<textletter-spacing="-5"x="3.643575"y="22.362129"text-align="center"><tspandx="0 0 0 0 0 0 0 0 0 0 2.28"font-size="72.5"x="1.143574"y="22.362129"sodipodi:role="line">chloroplast dna</tspan></text>
<gfont-family="'Frutiger Neue 35','Segoe UI',Ubuntu,sans-serif"font-weight="200"letter-spacing="0">
<textfont-style="italic"x="3.279297"y="-57.637871"text-align="center"><tspanfont-size="30"x="3.279297"y="-57.637871"sodipodi:role="line">nicotiana tabacum</tspan></text>
<textfont-size="25"x="1.579299"xml:space="preserve"y="72.362129"text-align="center"><tspandx="0 -3.159999"fill="#0bc056"font-size="25"letter-spacing="0"text-anchor="middle"text-align="center">155,939</tspan><tspanfill="#0bc056"font-family="'Frutiger Neue 35','Segoe UI',Ubuntu,sans-serif"font-weight="200"font-size="25"letter-spacing="0"text-anchor="middle"text-align="center"> base pairs</tspan></text>
</g>
</g>
The text was updated successfully, but these errors were encountered:
It is a common pattern for Inkscape to put x/y coordinates in a
<text>
element, only to repeat it again in the<tspan>
element. There should be some space saving out of these cases, especially for files with a large number of these elements.The below test case is from File:CtDNA.svg on Wikimedia Commons:
The text was updated successfully, but these errors were encountered: