Closed arnoson closed 3 years ago
Hi @arnoson
It's unfortunately due to how the "pixels" are rendered in the page (i.e. by a good old table) right now. So the "squareness" of the pixels is basically linked to the width of your window.
There surely is a better way to render this properly, but I haven't taken the time to dig deep into that for now.
Happy to review a PR if you have the time ! Best
okay, I'll have a look if I find some time!
In fact I'm on it :)
Hi again @arnoson,
Do you think you could test https://github.com/tchapi/Adafruit-GFX-Font-Customiser/tree/feature/square-pixels to see if I haven't missed anything or introduced a regression ?
Thanks !
Cool thanks! I tested it with a custom font. The pixels are perfect squares :) but unfortunately wide glyphs get cropped
Hmmm .. yeah, this is the responsive thing again. Ok, I'll work something out for big fonts tomorrow !
Could you send me this custom font @arnoson so I can test your specific case ?
sorry had no time, will send it tomorrow! Can I send it as a PM? It's the font of a friend I'm not shure if he's okay with it if I upload it here
Received, tested — it works great. I'll merge the branch now.
PS: Rest assured that I removed all files of the font you sent me from my machines and used it only for testing purposes
Finally I could test it and it works perfectly! Many thanks for your efforts
Thanks for this awesome tool! Right now the pixels are not displayed as squares but as rectangles. Is there any option to enable this?