-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
svg生成vector不正确相关问题收集 #6
Comments
<vector xmlns:android="http://schemas.android.com/apk/res/android" 这个位置可以指定单位为px吗? |
还不支持 |
解析这个path的时候出错,我发现是path的路径的问题,在网页上正常显示。但是通过转换后,产生的图形就出错了。 |
出错是因为inkscape:connector-curvature="0" 这个属性不支持,删掉就好了。 |
看样子确实是transform导致的bug |
@MegatronKing |
transform的bug已经修复,见 42ebca8 |
transform修复在1.3.9版本,已更新 |
@MegatronKing 刚发现这个库,一开始很惊喜,试用过后,发现 svg2vector 这一步基本上成功不了。。用AS自己的svg2vector功能转出来的xml代码贴近去也可以顺利生成java代码。
|
|
比如第二个svg图,我在不影响显示的情况下删除了一些标签,只保留了支持的标签,然后显示还是有问题。原图是外面一个圆里面一个点的定位的图标,用您的工具转换成vector后,里面的点消失了。 |
bug,待修复 |
可否能告知,是不是可以通过调用AS的svg转vector的方法呢。因为我试了好几个svg转vector的工具,还是AS自带的最好用容错率最高。我去安装目录下找了一圈也没找到相关的东西。非常感谢 |
@MegatronKing |
|
|
gradient 这个标签好像没有支持上~ |
如果各位使用中遇到svg无法生成vector,或者生成vector不正确情况时,希望可以将svg文件代码提供出来,方便解决问题。
The text was updated successfully, but these errors were encountered: