使用Inkscape将SVG与自定义字体转换为PNG

时间:2016-06-11 18:17:51

标签: linux svg png converter inkscape

我在尝试将SVG转换为PNG时遇到问题使用Inkscape,SVG文件包含我的机器(Linux)中没有的自定义字体。

SVG文件: https://dl.dropboxusercontent.com/u/61378613/source_file.svg

这里是转换为PNG的命令:

  

sudo inkscape -z -e result.png -w 3750 -h 7350 -d 3028 source_file.svg

这里有使用inkscape的结果: enter image description here

这是在浏览器中打开的结果: enter image description here

1 个答案:

答案 0 :(得分:2)

你需要在系统上安装字体,inkscape无法猜测它无法访问的字体的字形形状。

浏览器存在于网络中,因此它通过在后台下载Web字体而作弊(而不是将其提供给其他应用程序,这是Web字体的主要弱点)

相关问题