Log In  


Cart #22676 | 2016-06-11 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5


This is a set of sprites and functions that allow the user to draw text with a proportional font. The font covers upper and lowercase, digits and basic punctuation. This set is not as compact as the others right now, demanding 16 sprites, but it provides, IMO, more readable characters.

current version:

  • switched from using the bottom 16 sprites in the first page to a 4x4 area in the first page
  • restored all characters to their intended designs
    old versions:


  • with some heavy optimization and small sacrifices, shrunk the font down to 16 sprites.
  • fixed the colon/semicolon

  • added digits and equal sign


5


I wish we could get font editor so we wouldn't need to use weird tricks like this. Also dots in the colon are too far away, it looks ugly. Move upper dot a pixel down please.


To be honest, using a sprite sheet like that is already kind of a "weird trick", especially with all the cutting and flipping more well-optimized fonts have.

I will fix the colon in the next version, and I'll also look into optimizing the font further.

UPD: did some weird tricks of my own, cut the spritesheet down to 16 sprites at the bottom of the first page.


Very pretty



[Please log in to post a comment]