Closed Ikswoknib closed 4 years ago
Maybe @fvanroie can chime in here, I have to admit that I've lost track over what's implemented and not. 🙈
Alpha 1.0.0.1 is the old version, which only supports V3 fonts. There should be a Save button in any case, so I'm not sure which screen you are referring to. Could you post a screenshot?
The master branch added support for V5/V6 fonts, but I've noticed that it crashes when trying to open a V3 font in the Font Editor. I believe you are opening a V3 font, which currently will cause an exception in the application.
I'll look into adding V3 support for backwards compatibility to the Font Editor as that was an oversight on my part.
I created a font with the master branch and than tried to open it for editing in the master branch. Than it crashed. I can load the font in the actual nextion editor and it looks okay. So it must be an v5 font i think. But i must edit it because some chars look bad...
Creating a font in the application is still V3 in the current master version, the Font Generator part hasn't been updated to V5 yet. However, the Font Editor can only edit V5 fonts due to that bug... It's a bit confusing, I know.
So, if you create a V5 font in Nextion v0.55+ you can then open it in the Font Editor and edit it. Meanwhile I've been working on a fix for that error when opening a V3 font.
Hmm, okay, my problem is that i would like to make an 12 point font. But in Nextion i only can chosse 16 at least. So any idea how i could do that at the moment ?
You could start with a 12pt V5 font from the HMI Font Pack. Then open that in the Font Editor, use the 'add character' dialog to change the font to another fonttype. You can then edit the characters in detail there.
Thanks, with the Font Packs i was able to get it to work as i want. But there seems to be some problems with the fonts ? If i load a font in the Nextion Editor i only got an error message. I had to delete some chars in the font with the editor. Some of the chars were not shown correctly in the editor, so them i deleted and it worked. So thanks a lot.
You're welcome. Glad to hear you could achieve your goal. I think this issue can be closed. I'll post some code updates later.
Meanwhile I've been working on a fix for that error when opening a V3 font.
This has been implemented in PR #18.
Thank you @fvanroie, closing this issue. 👍
I tried the Alpha 1.0.0.1 Stable Version but there is no Save Button....
I also tried the Master Branch Version, looks good, I am able to save, but there I have the Problem that if I want to open a font to edit it, I only get the following Error Message:
Otherwise it looks quite good. I am able to create a font in the Master Branch and i am able to edit a font in the Alpha Version. But there i can't save.....