title: SVG text with specific width and height
body: <p>I'm trying to place and stretch text in a SVG, in this example, I wanted the text to have a 4cm height but it seems it has some padding around!</p>
  
  <pre><code>&lt;svg x="0px" y="0px" width="10cm" height="10cm"&gt;
   &lt;text x="0cm" y="4cm" font-family="'Arial'" font-size="4cm"&gt;Random text&lt;/text&gt;
  &lt;/svg&gt;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/QFeaL.png" alt="enter image description here"></p>
  
  <p>How to remove the padding and set the text to have exactly 4cm of height?<br>
  If not possible in SVG, is there another vector graphics format that's easy to generate with php and can perform this task?</p>