Export SVG text coordinates bug. Text-align:center doesnt export to SVG
- November 22, 2019
- 3 replies
- 5435 views
I have a problem with exporting to SVG correct coordinates of text and text alignment.

X coordinate of text "1" is 1533,9 px
Lets align text to Center and center 1...5 Horizontal Align Center...

As you can see text alignment point have changed to Center of "1" text.

x axis coordinates now 1542,35 text align: Center.
Lets Save as SVG and...
In svg file there is NO alignment attribute at all, and x coordinate is 1535.7031 instead of 1542,35
<g id="k1">
<path id="path13" style="fill:none;" d="M1470.5,667.6H1615v68.2h-144.5V667.6z"/>
<text id="text15" transform="matrix(1 0 0 1 1535.7031 714.1688)" style="font-family:'GraphikLCG-Regular'; font-size:33.314px;">1</text>
</g>
How to export ALL text attributes to SVG? How to export Bottom-center coordinates of "1" instead of Bottom-Left coordinates of "1"?
We have to make an automation task on our web-site and plan to change text "1" with other data, for example "12,6" and have to make it look same cool and aligned as it is in source file.
Please help!
SVG file attached.
