libschrift is a lightweight TrueType font rendering library.
libschrift aims to:
On Unix-like systems including Mac OS, you can use make && make install
to install libschrift as a system-wide library. Since it is statically linked,
you only need the library files for development.
Users of your projects do not need to install libschrift.
On Windows, you can either use the provided MSVC project, or compile with make via MSYS, or simply compile manually.
Alternatively, you can always copy-paste schrift.c
and schrift.h
into your
own projects source folder.
For documentation on how to use libschrift in your own projects, refer to the schrift(3) man page, the source code of the bundled demo, as well as the header file schrift.h.
You can view the man page in your browser at http://tomolt.github.io/libschrift/
In terms of both security and performance, libschrift is already pretty solid. However, it is still missing some important features, like right-to-left text support.
A screenshot of the demo program:
Bug Reports, Suggestions, Questions, Criticism, Pull Requests and Patches are all welcome!
You can also support the project by buying me (Thomas Oltmann) a coffee, if you'd like: