Basic, personal use case font utilities
- Zig 100%
| src | MSDF rasterization: serpentine walk texels for better lookup cache usage | |
| .gitignore | Initialize | |
| build.zig | Add executable for printing debug output | |
| build.zig.zon | Create Zig package | |
| LICENSE | Initialize | |
| README.md | Update README | |
typkit is a narrow use case typography library, providing helpers for parsing and rendering certain fonts with certain algorithms.
Current features:
- The basic
.ttftables (head,cmapformat 4,loca,glyf) - Native Zig implementation of multi-channel signed distance field rasterization
- No hard allocation requirements
glyfflag data is emitted with an iterator- A contour segment iterator, which can directly parse and emit the point indices of each quadratic bezier segment of each contour as it steps through the flag data in one pass
- 100%, no-dependencies Zig
Still to-do:
.otf.woff.woff2.eot
For TrueType, still to-do:
nametable- Composite
glyfs kerning,GPOS- Ligatures (
GSUB) - Hinting
- CFF/OTF outlines
- Colors, emojis