-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
Feature Request: TTF for openHASP #609
Comments
@NODeeJay Hi, it's something I already had in mind to do but I hadn't yet found automatic tools. Here's a zip file with a generation of the icons in ttf. In the zip you will find a demo.html file that shows you the icon and related code. At the moment I don't know why the icons are not displayed in the demo.html. but I think the font should work let me know, thanks |
Wow, gracie mille! |
yes it is an experimental branch as I will be updating the dev branch soon. let me know if it works, I don't know why but in the demo.html the icons are not visible |
At least something I can contribute, and sadly, without the icons displayed it does not work for my purpose. In my case on Windows I installed the TTF and restarted the browser, this also solved it for MDI (installing MDI, then restarting the browser).
Optional: If you send the icon from the HA addon for openHASP, copy/paste it the same way like this Since this is a much more comfortable approach (basically copy/paste after the font installation) than the suggested solutions with either the JSON payload or the RAW payload (see https://openhasp.haswitchplate.com/0.7.0/design/fonts/#encoding) thank you very much for your effort to produce the font! |
thanks for your feedback, I had understood that if the icons are not displayed on the demo.html page they do not work. Let's see if I can resolve the issue for the ttf package |
At first it failed with the issue in the FF console And yes, the point 7/8 is to copy over the icon from the demo page as it is, but when the font is installed the icons show up and I can copy it w/o issues |
Well, it's not really a bug report and not a new icon request either.
I am using openHASP for small touch screens and to use all MD icons from Home Assistant I added MDI as a true type font, since openHASP only brings a subset of MDI (around 100 icons).
Over time many icons in HA got replaced with better ones from this repo. Now, to be able to use this repo also on openHASP displays I would need a TTF of those icons. It seems pictogrammers build this with every release but I did not find any script building a font out of all icons, just the general builder for a webfont.
Do you have any easy solution to also build a true tyep font on release?
Thanks,
Alex
The text was updated successfully, but these errors were encountered: