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图片可转化成unicode展示,但转化为font class失败,请问是我有什么地方操作不对吗? #158
Comments
@1261960504 没有太懂,失败在什么地方。 图标尽量使用 <svg width="24" height="24" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="m2.6 10.59l5.78-5.79 1.69 1.7c-0.24 0.85 0.15 1.78 0.93 2.23v5.54c-0.6 0.34-1 0.99-1 1.73a2 2 0 0 0 2 2 2 2 0 0 0 2 -2c0-0.74-0.4-1.39-1-1.73v-4.86l2.07 2.09c-0.07 0.15-0.07 0.32-0.07 0.5a2 2 0 0 0 2 2 2 2 0 0 0 2 -2 2 2 0 0 0 -2 -2c-0.18 0-0.35 0-0.5 0.07l-2.57-2.57c0.26-0.93-0.22-1.95-1.15-2.34-0.43-0.16-0.88-0.2-1.28-0.09l-1.7-1.69 0.79-0.78c0.78-0.79 2.04-0.79 2.82 0l7.99 7.99c0.79 0.78 0.79 2.04 0 2.82l-7.99 7.99c-0.78 0.79-2.04 0.79-2.82 0l-7.99-7.99c-0.79-0.78-0.79-2.04 0-2.82z" fill="#e64a19"/>
</svg> |
谢谢,失败就是像上面截图中的test11和test22这两个图标,在unicode方式下可以展示,但是在font-class模式下无法展示出来 |
@1261960504 没有看到你的代码不知道什么原因 |
@1261960504 你可以把你的这俩 svg 图标代码贴出来,我看看 |
|
@1261960504 你无法显示的 viewBox 尺寸是不是跟能显示的不一样?通过工具弄成一样试一试? |
嗯嗯,好的,我去试试 |
font class:
unicode
The text was updated successfully, but these errors were encountered: