The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
TTF text shaping
Alexander Sabourenkov
Guest

Hello.

https://github.com/lxnt/zhban


A library for rendering lots of pretty text fast.


Aimed more at OpenGL than pure SDL, though can be used with pure SDL  - see test.py.


Pure C. Does not reinvent text shaping. Caches as much as makes sense. Will support vertical and RTL scripts if there would be a test case. Correctly renders most sorts of obscure scripts including Tengwar (freemono/telcontar). Supports per-cluster fg/bg coloring.


BSD licensed.