Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 2.61 KB

README.md

File metadata and controls

30 lines (20 loc) · 2.61 KB

really-small-font

an experiment with rendering bitmap fonts with subpixels rather than whole pixels, to save space at the expense of your eyes. this can generalize to monochromatic images with a "pixel" aspect ratio of 1:3.

this is inspired by ken perlin's tiny font, which led me to wonder about how extreme the idea can be taken. ken's font itself could be encoded with this project to result in 200% extra horizontal space!

examples

note that this assumes no dpi scaling and an rgb subpixel geometry.

when the text is lit when the background is lit
output example-on example-off
simulated zoom example-big-on example-big-off
on my actual monitor physical-on physical-off

why purple?

the color chosen is one where each of the individual channels have equal perceptual brightness.

this might not be optimal since blue still seems pretty dark.

per-channel gamma calibration image (needs to not by dpi-scaled):

gamma