3 ms·
It would be nice if you could create a webpage with a bit of JS with controls for choosing the font parameters, and the right font coming up on the browser wind
by einpoklum 6y ago
It would be nice if you could create a webpage with a bit of JS with controls for choosing the font parameters, and the right font coming up on the browser window, perhaps with a nice zoom factor.
- ianhanschen 6y agoSounds cool - you’re welcome to submit a pull request.
- pmayrgundter 6y agoThanks for posting! To turn this into a font for a sprite sheet would take some sort of mapping for each.. Autosegmentation seems maybe practical. Are the glyphs in any order? I just poked around and it doesn't seem so. Indexing them according to character code would be a fair amount of work by hand. Maybe a handwriting Neural Net? Hmm.. I have an old one somewhere
- neetdeth 6y agoThe few I've opened appear to cover a 60-character segment of the ASCII table from 0x20 to 0x5B in row major order with a fixed glyph size indicated in the file name.
- pmayrgundter 6y agoThere does seem to be consistency in groups with similar names, but e.g. from the first page, two of the same size with different ordering: https://github.com/ianhan/BitmapFonts/blob/main/32_32V1.png https://github.com/ianhan/BitmapFonts/blob/main/32_32V1.png https://github.com/ianhan/BitmapFonts/blob/main/32X32-F1.png https://github.com/ianhan/BitmapFonts/blob/main/32X32-F1.png Still, it's a good point that there's some ordering. Maybe it's not so bad setting up an index by hand for each group.
- TedDoesntTalk 6y agoDon’t you love how people volunteer your time when you make a contribution to history and society like you did?
- pengaru 6y agoWe have a volunteer!
- onion2k 6y agoIf you're going to show off demo scene bitmap fonts then the best way would be to use a scroller. Feel free to use mine... https://codepen.io/onion2k/pen/rYgxdJ https://codepen.io/onion2k/pen/rYgxdJ