@neauoire A few missteps after slightly misunderstanding the spec but I got there! The harder part is going to be figuring out how to turn the pixel data back into a bitmap/raster font. To be continued!
Top-level
@neauoire A few missteps after slightly misunderstanding the spec but I got there! The harder part is going to be figuring out how to turn the pixel data back into a bitmap/raster font. To be continued! 6 comments
@neauoire Dunno if the problem was with the doc (was using https://wiki.xxiivv.com/site/ufx_format.html) or my brain: @neauoire I originally tried laying out all the tiles contiguously in the specified order (2x tiles tall for UF2), and then selecting slices from that offsetting by character widths, which was as wrong as it was overcomplicated. The way it acutally works obviously makes way more sense -- pixel data is always the same size and the character widths are just bounds inside it. This is obvious in retrospect but somehow wasn't to me at the beginning! 😅 |
@josh could the docs be improved somewhat?
https://github.com/XXIIVV/oscean/blob/main/src/htm/turye.htm