I m hoping to get a little more information on the best way to format text within SVG The w3 offers this http://www.w3.org/Graphics/SVG/IG/resources/svgprimer.html#text_methods
但没有具体说明如何建立字体堆叠, 我尝试将以下的 xml 代码处理成 cs (如某些建议), 但我没有运气 。
font-family:Times New Roman;
-inkscape-font-specification:Times New Roman
< pengener\\ 问题。 我如何才能为 svg 按 cs 为 svg 构建字体堆叠? strenger>
(我对字体脸或Svg字体不感兴趣, 因为我从我所读到的书中相信, 这些字体目前没有得到如此广泛的支持 。 )
我试图在 xml 内以这些模式格式化文本,但没有运气;
font-family:Verdana,Times New Roman;
font-family: Verdana,"Times New Roman" ;
font-family:Verdana,"Times New Roman";
font-family: Verdana,Times New Roman ;
EDIT I ve also found this from w3 http://www.w3.org/TR/SVG/text.html#FontPropertiesUsedBySVG which tells me to follow css, as per http://www.w3.org/TR/2008/REC-CSS2-20080411/fonts.html#font-specification but putting it in like css (font-family:"Times New Roman",Times,serif;) doesn t work.