Unofficial Nextion/TJC User Forum

Open source Nextion ZI-font tools and ZI-specification

#1

Hi!

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.

1 Like
Crazy-ass things posted by Nextion Forum Admins
#2

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!

1 Like
#3

This is Fantastic Thnx for that

1 Like
#4

Wow, works real well.
Nice test feature !
Suggestion to easily fix errors :

  • allow copy/paste of whole characters from same/other font
  • Select per char size option so you can mix sizes when there are errors.

It would be nice to port and correct a few of fonts.google.com to .zi and host it on git.

Keep the work, anti-aliasing will be a great addition !
Thanks

1 Like
#5

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.

#6

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.

#7

Thanks for the answer,.

1 Like
#8

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).

greatings
Shadow

#9

Are you using the “1.0.0.1-alpha”-version? Because I think that version is missing those features.

Try this build, from the latest commit.
https://ci.appveyor.com/project/hagronnestad/nextion-font-editor/build/artifacts

1 Like
#10

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.

#11

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.

2 Likes
#12

Thank you for this contribution hag.

2 Likes