I just wanted to share my open source Nextion Font Editor project. The project includes a font generator, editor and previewer. It’s currently not as feature rich as some of the other third party font editors on the forum, but I’m actively developing the tools. As far as I know this is also the only open source ZI-font editor available.
OUTSTANDING WORK! This is exactly the sort of careful analysis that helps the community better use these devices. Great documentation, great presentation, and awesome code to accompany it all. Thanks @hag!
Hi, I’m new on the forum.
I found this forum when searching for a better fonts for my nextion project, I check this topic and downloadesd the font generator.
Sorry for the dumb question, how can I use the font editor? I can’t find any executable program.
Thanks.
You probably just downloaded the source code. Go to the Release-tab on the GitHub repo to download binaries. If you want the latest version you have to build the source code yourself though.
Hi,sry for this question but I can´t find any Button or similar thing to generate a new zi Font or save an edited. I can open the Fontgenerator (The big A+), can choose Size, Style and so on but can´t find any option to save this, so I can use this for my Nextion (where evere big W is always a small w).
Yes, that´s what was worng. With the other Version it works. Thank you.
p.s. What does it mean if a Letter is shown in a red box instead of a green (Preview Test in generator)? For me this seem to be those letters which are difficulty to draw on the display but I´m not sure.
The red boxes highlights the characters that are too wide to fit inside the constraints of the ZI-font. So there are different sizing options to either make them smaller (looks weird in a word), resize the width or make all other characters smaller too so they’re all evenly sized.
That’s the plan anyway, I think some og these features are broken, because I’m still working on it.
I have a script that can convert a otf/ttf into a .zi v5 file. It can take the google repository and batch convert them into HMI fonts. Is there a list of prefered fonts, size, encodings? I can make a repository for compiled HMI fonts if there is interest.
It’s in PowerShell for the moment, but I’m converting it to C# so it can be used in @hag 's font editor.
Dozens of Google Fonts in v5 .zi format, for all codepages and various fontsizes.
@Flatpack2 We’re working on v5 support in the Editor. But it’ll takes some time.
If you’re on Discord, you can post the .zi there and I can have a look at doing some quick edits to the file.
A new version of the HMI Font Pack v0.0.2 has been released on Github. It now includes 2 new UTF-8 fonts and a bug-fix that could crash the Editor when the HMI screen orientationt was rotated.
All .zi files are Version 5 fonts and I’ve also included a .png preview for each font.
Awesome You’re doing so much great work @fvanroie! I’ve made some comments on your PR’s on GitHub btw, I’m not sure if you’ve seen them. If you could take a look at that we could get them merged.
This forum is in no way affiliated with NEXTION®, ITEAD STUDIO®, TJC®, or anyone else really. All product names, logos, and brands are property of their respective owners. All company, product, and service names used in this website are for identification purposes only. Use of these names, logos, and brands does not imply endorsement from the respective rights holder(s).