A simple cross platform OpenGL application using signed distance field (SDF) font rendering to render text that can be scaled freely while still appearing sharp.
Tested on linux, windows, macOS, android and emscripten.
See the online demo.
Requirements:
- cmake 3.2 or newer (on path)
- SDL2
- on linux: SDL2 must be installed (e.g. libsdl2-dev on ubuntu)
- on macOS: SDL2 must be installed (e.g. brew install sdl2)
- on Windows: SDL2 binaries will be downloaded by the build script automatically.
Run the appropriate build script from platforms/
to build the app.
The project is licensed under the zlib license
Using: