Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
http://jsfiddle.net/NV6Cr/1/
如果单击“创建画布”,它会将页面底部的 SVG 文本绘制到画布上。唯一的问题是它只占用文本的左上角部分。知道发生了什么吗?
更改 SVG 使其大小与画布匹配,并且它适用于我的 Firefox,例如
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" class="layer" id="layer_text" width="778" height="544">