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:

enter image description here

it's seems dy of tspan being ignore:

i've tried changing 1 tspan <br/> , \n output same.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -