An immediate mode font rendering system in C.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
cosmonaut eae5980dbe 0.3.0 9 months ago
include 0.3.0 9 months ago
lib rework API for batching 12 months ago
src change textbounds to take a packer instead of batch 9 months ago
visualc add visualc solution 12 months ago
.drone.yml drone CI 12 months ago
.gitignore add visualc solution 12 months ago
CMakeLists.txt 0.3.0 9 months ago
LICENSE update LICENSE 12 months ago
README.md add visualc solution 12 months ago

README.md

This is Wellspring, an immediate mode font rendering system in C.

About Wellspring

Wellspring is inspired by the design of Dear ImGui. It outputs pixel data that you can upload to a texture and vertex buffers that you can render anytime in your 3D application. This means that you can integrate it easily using the graphics library of your choice. Wellspring uses stb_truetype to rasterize and pack fonts quickly.

Dependencies

Wellspring depends on the C runtime, but SDL2 can be optionally depended upon instead if your application prefers it by defining USE_SDL2.

Building Wellspring

For *nix platforms, use CMake:

$ mkdir build/
$ cd build
$ cmake ../
$ make

For Windows, see the 'visualc/' directory.

License

Wellspring is licensed under the zlib license. See LICENSE for details.