jaywcjlove / svgtofont

Read a set of SVG icons and ouput a TTF/EOT/WOFF/WOFF2/SVG font.
https://jaywcjlove.github.io/svgtofont
MIT License
520 stars 82 forks source link

svgtofont有方法接受svg对象而不是路径吗 #169

Open LikeDreamwalker opened 2 years ago

LikeDreamwalker commented 2 years ago

想要通过用户上传.svg + 预览 + 导出的方式,貌似现在只接受通过路径方式传入svg

jaywcjlove commented 2 years ago

想要通过用户上传.svg + 预览 + 导出的方式,貌似现在只接受通过路径方式传入svg

没有明白什么意图

xty1992a commented 1 year ago

楼主意思应该是要一个不带io,用于前端处理,接受svg字符串,输出Blob之类的内核。