svg - mPDF ignore tspan positions and overlays text -
i have svg
file:
<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" xmlns="http://www.w3.org/2000/svg" width="908" height="250"> <text text-anchor="middle" y="94" opacity="1"> <tspan x="200">some</tspan> <tspan x="200" dy="17">text</tspan> <tspan x="200" dy="17">with</tspan> <tspan x="200" dy="17">many</tspan> <tspan x="200" dy="17">lines</tspan> </text> </svg>
and want generate pdf
file (using mpdf
) includes svg
i'm getting output:
it's seems dy
of tspan
being ignore:
i've tried changing 1 tspan
<br/>
, \n
output same.
Comments
Post a Comment