~ft/libpt

Pretty text rendering for 9front
smoother height/gamma adjustments
add more stats and print average

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~ft/libpt
read/write
git@git.sr.ht:~ft/libpt

You can also use your local clone with git send-email.

libpt

Pretty text. Rendering pretty text in 9front is not that easy, this project aims at providing libraries for low- and high-level text rendering that produces GOOD LOOKING text.

Testing

Put your favourite font as font.ttf and run:

mk && ./6.test font.ttf README.md

Click with right mouse button and drag up/down or press - and + to change font size.

Middle mouse button moves the text around.

Pressing i inverts the color scheme.

Up/down changes gamma (contrast?) correction. Enter resets it.