Skip to content
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

Custom AA Font "space" glyph not functioning properly #3578

Open
Blitz54 opened this issue Dec 13, 2024 · 0 comments
Open

Custom AA Font "space" glyph not functioning properly #3578

Blitz54 opened this issue Dec 13, 2024 · 0 comments

Comments

@Blitz54
Copy link

Blitz54 commented Dec 13, 2024

NodeMCU ESP32
Tft_Espi 2.5.43
9431 TFT Screen

I'm having an issue when creating a custom font using the processing sketch. I've used the sketch multiple times now for another project, where I was able to edit the font I was using with FontForge to make the glyphs fit perfectly for my use case in that situation. (which by the way, AA fonts are BEAUTIFUL)

The issue I'm having, is I cannot get the space glyph to increase in size whatsoever when printing to the 9341 screen. After running the processing script, the preview window does in fact show the proper size of the space glyph. In FontForge the initial width was 1000 for one particular font. I increased it to 3000, the processing windows shows a proper gap 3x the size, yet again, when printing to the screen, the space is almost non existent. If I put 3 spaces in my code "FM RADIO" it will increase the spacing, but that's a really hacky way of doing it.

I've tried this with 6 different fonts now, all of them the same issue. The fonts I used on my other project required no spaces and minimum glyphs, so I'm not sure if they also would have had the same issue, but I think they would have.

Using Free_Fonts.h does include a proper space. Not sure what I'm missing, I just cannot get the space to properly print to the screen.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant