@josh I'm not too familiar with the OTF format, but the ufx format should be easy to convert to a bitmap :) Maybe you can do bmp/tga -> otf?
Top-level
@josh I'm not too familiar with the OTF format, but the ufx format should be easy to convert to a bitmap :) Maybe you can do bmp/tga -> otf? 12 comments
@josh let me know if you need a hand getting to the glyph data in the binary file. You can use this to see what to expect: https://wiki.xxiivv.com/site/turye.html @neauoire Thanks so much for offering, will see how far I get once I find some free time to tinker with it. And had already poked around in Turye ☺️ @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! @josh could the docs be improved somewhat? @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! 😅 |
@neauoire Thanks, will have to tinker with it! Already found your specs of course, but figured I’d ask about any existing tools before attempting to write my own.