libpt

A read-only mirror of https://git.kyotam.com/sigrid. It updates only from there.

Sigrid Solveig Haflínudóttirproperly handle font loading errors07102965 years agoHistory
NameLast commit messageLast commit date
.gitignore
mkfile
pt.c
pt.h
pt_private.h
README.md
stb_truetype.h
test.c
README.md

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.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t