1 day ago · 0 comments

Font data (C header) All characters fit within a 5 pixel square, and are intended to be drawn on a 6x6 grid. The design is based off of lcamtuf's 5x6 font-inline.h, which is itself loosely inspired by the ZX Spectrum's 8x8 font. 5x5 is the smallest size that doesn't compromise legibility: 2x2: Impossible. 22*2 = 16 possible symbols 3x3: Practically unreadable. 4x4: Not enough to draw "E", "M", "N" or "W" properly. 5x5: This font. Five by five is actually big enough to draw most lowercase letters one pixel shorter, making them visually distinct from uppercase. Narrower 4x5 and 3x5 dimensions are possible, but would require sacrificing the M, dotted zero, and reduce U/V/Y distinctiveness. Three wide characters would also force the "e" and "g" to be the same height as uppercase letters. There's no artistic reason to make all characters five wide just because a few must be... a using a constant width make programming a lot easier: The length of a string on screen is always 6 times the…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.