breaking_the_physical_limits_of_fonts icon indicating copy to clipboard operation
breaking_the_physical_limits_of_fonts copied to clipboard

Overlooked opportunity, 15-in-a-short-int...

Open Digital-Monk opened this issue 2 years ago • 0 comments

You mention how 3bpp doesn't pack nicely into bytes and give this: pixel A A A B B B C C C - - - - - - -

But think about your glyphs: They're 5 pixels each, which means that one glyph has pixels ABCDE, so: pixel A A A B B B C C C D D D E E E -

which actually works out quite nicely with very little overhead. (this submission form is doing something incredibly stupid with the 'code' formatting and multiple lines, so I couldn't recreate the header-and-data table layout you had, but hopefully it's clear enough.)

Also, you're insane! ;)

Digital-Monk avatar Sep 02 '22 14:09 Digital-Monk