3 ms·
awesome, it works and looks good. i love gnu unifont too and made a renderer[1], using a big spritesheet[2] rather than a proper font file. using an image seem
by 4uifnf4r 12y ago
awesome, it works and looks good.
i love gnu unifont too and made a renderer[1], using a big spritesheet[2] rather than a proper font file. using an image seems like a good way to load unifont in terms of bandwidth, but of course the downside is losing the ability to treat it as real text.
[1] try typing into http://bon.gs/pxt/test.html http://bon.gs/pxt/test.html (i haven't marked all the half-width chars yet so the spacing is off for a bunch)
[2] http://i.imgur.com/kiVf8Hm.png http://i.imgur.com/kiVf8Hm.png
- humanarity 12y agoAH! That's cool. You made a font renderer using an image. An interesting idea. I could use that to maybe reduce the download time, as the font is 3mb and your image of plane 0 is 850k. If all of plane 0 can fit in an 850k png, maybe it would be possible to do a custom compressed format for Unifont (that could still be scaled and colored), that beat out the WOFF file's 3mb. Thanks for sharing that!