title: Trimming text to a given pixel width in SVG
body: <p>I'm drawing text labels in SVG. I have a fixed width available (say 200px). When the text is too long, how can I trim it ?</p>
  
  <p>The ideal solution would also add ellipsis (...) where the text is cut. But I can also live without it.</p>