ofxSvgLoader
ofxSvgLoader copied to clipboard
text not displayed in correct location after AI export
This is what my svg looks like in illustrator 25.2.2 on macOS 10.15.6.
This is the svg in OF 0.11.
0
These are my export settings
I do see differences between the sample.svg
<text transform="matrix(1 0 0 1 541.8818 78.5449)" fill="#494949" font-family="'ArialMT'" font-size="21">openFrameworks tries to balance usability </text>
and my svg.
<g id="text1568" style="isolation: isolate"> <text transform="translate(36.27 68.25)" font-size="30" font-family="Helvetica" style="isolation: isolate">B</text> </g>
Would you know how to make the text alignment correctly?
Hello, Looks like the transform attribute is different and just passes the translate information. Does changing the styling change what's output in the transform tag?
For now I switched to using Inkscape but still have to open the file in a text editor first and delete the lines
width="210mm"
height="297mm"
for the letters to align with the path lines