Unofficial Nextion/TJC User Forum

Open source Nextion ZI-font tools and ZI-specification


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

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

This is Fantastic Thnx for that

1 Like

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 to .zi and host it on git.

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

1 Like

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.

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.

Thanks for the answer,.

1 Like

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


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

Try this build, from the latest commit.

1 Like

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.

1 Like

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.


Thank you for this contribution hag.


Looks cool, I tried it but gave me some errors. Is there a tutorial on youtube or a guide on how to use it?

Nvm. Got it to work.

A+ is to generator font. and Pen tool is to edit.

-In Editor Open and load a font first. then make changes and save it. Use it in Nextion.
Tested for v0.53. Works great.

Thanks Hag.:raised_hands:

1 Like