title: SVG, XML & font-family
body: <p>I'm hoping to get a little more information on the best way to format text within SVG
  The w3 offers this
  <a href="http://www.w3.org/Graphics/SVG/IG/resources/svgprimer.html#text_methods" rel="nofollow">http://www.w3.org/Graphics/SVG/IG/resources/svgprimer.html#text_methods</a></p>
  
  <p>But doesn't specify how I can build a font stack, I've tried treating the following xml code like css (as some suggested) but I've had no luck.</p>
  
  <pre><code>font-family:Times New Roman;
  -inkscape-font-specification:Times New Roman
  </code></pre>
  
  <p><strong>Question. How can I build a font stack for svg as per css?</strong></p>
  
  <p>(I'm not so interested in font-face or svg fonts because I believe from what I've read that they are not so widely supported at the moment.)</p>
  
  <p>I've tried to format the text in these modes within the xml, but no luck;</p>
  
  <pre><code> font-family:Verdana,Times New Roman;
   font-family:'Verdana,"Times New Roman"';
   font-family:Verdana,"Times New Roman";
   font-family:'Verdana,Times New Roman';
  </code></pre>
  
  <p>EDIT
  I've also found this from w3
  <a href="http://www.w3.org/TR/SVG/text.html#FontPropertiesUsedBySVG" rel="nofollow">http://www.w3.org/TR/SVG/text.html#FontPropertiesUsedBySVG</a>
  which tells me to follow css, as per <a href="http://www.w3.org/TR/2008/REC-CSS2-20080411/fonts.html#font-specification" rel="nofollow">http://www.w3.org/TR/2008/REC-CSS2-20080411/fonts.html#font-specification</a>
  but putting it in like css (font-family:"Times New Roman",Times,serif;) doesn't work.</p>