tomolt/libschrift
View on GitHub ↗ ★ 573 C
A lightweight TrueType font rendering library
4 mentions on Hacker News by 3 people: 1 story, 3 comments · first 2020-04-20 · latest 2024-01-03
20082026
-
libschrift is ~1500 lines of C: https://github.com/tomolt/libschrift My Ruby rewrite is ~600 lines: https://github.com/vidarh/skrift Libschrift is very readable. I did my Ruby rewrite basically just top to bottom before reorganizing it.…
comment by vidarh · 2024-01-03 · in Writing a TrueType font renderer -
…work on auto-hinting because as it turns out the hinting in a lot of TTF files is pure garbage. [1] https://github.com/tomolt/libschrift [2] https://github.com/vidarh/skrift - X11 integration in https://github.com/vidarh/skrift-x11
comment by vidarh · 2024-01-01 · in Writing a TrueType font renderer -
…but one third the code makes Skrift three times as approachable do you have an output sample like https://github.com/tomolt/libschrift/raw/master/resources/de... ?
comment by kragen · 2023-11-11 · in Write your own terminal -
▲ 98
Libschrift: A lightweight TrueType font rendering librarystory by zdw · 2020-04-20 · 73 comments