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
Icon 'workplace' showing as double image #41
Comments
Thanks for the report! You’re correct, the exported SVG that is used for generating the font contains another icon outside the actual icon canvas, which becomes visible if the element you use the icons in is not using |
Would appreciate a PR for this one. You should be able to generate new font files by uploading the current SVG font to icomoon.io and exporting new web fonts with it. The most crucial part is making sure that the same unicode characters are used for the same icons as before, but I think those should map automatically with icomoon. |
We started looking into fixing this and found that in the 3.0 tag, the issue isn't present. However it is present in the 3.0.1 build (I can't find a corresponding tag) that Vaadin Framework is depending on. The latest 4.1.0 tag of Vaadin Icons also looks correct. So I think the issue is already fixed in the Vaadin Icons repo, but the 3.0.1 build that Vaadin Framework is using has the bug. It seems like the right fix would be to update the Vaadin Framework dependency to 4.1.0 and the issue would be resolved. I don't know your build process but it seems like the issue was introduced with the 3.0.1 build that doesn't match a tag in the icons repo. |
Closing as fixed per above comment. |
In the 8.1.0 Vaadin-Icons.woff file, the 'workplace' icon appears as a double image. From the best I can tell it is rendering both the hospital and workplace icon back to back. I used an online font viewer (http://torinak.com/font/lsfont.html) to verify that something looks odd at that point in the icon file. For now we're just avoiding that icon but it would be nice to have it available.
The text was updated successfully, but these errors were encountered: