Looking for more information on the VLW font bitmap format #2802
Replies: 1 comment
-
I figured it out. My update was correct. There was a bug elsewhere I just couldn't see. Sorry for the churn. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Looking at the TFT_eSPI code I'm trying to make sense of the VLW font file format but there's nothing on google about it. Processing doesn't document it, apparently, and this left me with TFT_eSPI as the best resource for figuring it out.
I can get most of the file - I even improved look up speed in some situations by doing a binary search when possible. I can get all the glyph information just fine.
It's the bitmaps that confuse me. The code suggests it's run length encoded - as best as I can tell, but the size of each bitmap section is
glyph_width * glyph_height * 2
which would suggest it's uncompressed.I can't make heads or tails of the draw code. Can someone explain the VLW font bitmap format for me?
Update: I think I figured it out. It's not RLE but it's drawn using RLE so that it doesn't have to blend more than necessary. Is that about right?
Beta Was this translation helpful? Give feedback.
All reactions