Skip to content

an experiment with rendering bitmap fonts with subpixels rather than whole pixels, to save space at the expense of your eyes

Notifications You must be signed in to change notification settings

tangmi/really-small-font

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

an experiment with rendering bitmap fonts with subpixels rather than whole pixels, to save space at the expense of your eyes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages