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 e45aed1daa drone CI 2 months ago
include move baseline alignment to position 0 2 months ago
lib rework API for batching 3 months ago
src move baseline alignment to position 0 2 months ago
visualc add visualc solution 2 months ago
.drone.yml drone CI 2 months ago
.gitignore add visualc solution 2 months ago
CMakeLists.txt upper case library name 3 months ago
LICENSE update LICENSE 3 months ago
README.md add visualc solution 2 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.