Error creating Vector Image Asset: <text> is not supported

感情迁移 提交于 2020-04-16 05:08:29

问题


I created a basic SVG file in illustrator using Line Tool, Eclipse Tool & Text only. The font I used was Century Schoolbook.

When I try to configure a vector asset I get the error, is not supported. The preview shows the SVG without the text

Am I not suppose to use text on SVG files? Surely that can't be the case?

Here's the error:


回答1:


At present, Android's vector assets handle a small subset of SVG, mostly focused on paths. It does not appear that it supports text.

However, your SVG tool may have the ability to export an SVG where the text (in your desired font) is converted to paths. This also ensures that your text shows up in your desired (converted) font, as the font you might be using in your artwork may not exist on the Android device.



来源:https://stackoverflow.com/questions/56419662/error-creating-vector-image-asset-text-is-not-supported

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!