Simple .ttf font viewer I wrote out of pure curiosity.
TTF file parsing is implemented manually and based on Apple TrueType Reference Manual. Rendering, input processing and IO is done using SDL2.
Don't forget to download SDL submodule before (one-time action):
git submodule update --init --recursiveThis is a regular CMake project so just create a build directory for build files:
mkdir build
cd build
cmake ..
cmake --build .- Drag&Drop
.ttffile into window - Use:
WASDto move glyph around (Shiftto to if faster)LKIOto show/hide straight lines, beziers, control lines of beziers or em-boxes.- Left/Right arrows to change glyphs
- Up/Down arrows to change glyph size (
Shiftto to if faster)