freetype-gl
OpenGL text using one vertex buffer, one texture and FreeType (by rougier)
msdfgl
OpenGL implementation of the MSDF algorithm (by nyyManni)
Our great sponsors
freetype-gl | msdfgl | |
---|---|---|
3 | 3 | |
1,585 | 241 | |
- | - | |
6.3 | 0.0 | |
about 1 month ago | over 1 year ago | |
C | C | |
GNU General Public License v3.0 or later | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
freetype-gl
Posts with mentions or reviews of freetype-gl.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-01.
-
Rendering text
To render text in my own engine, I rasterise TTF files. I use FreeType to do most of the work for me and use FreeType-GL to take care of packing the glyphs into a single texture (as well as handling UTF-8 text).
-
Rendering text and images performance help?
Storing all glyphs in a single texture like you describe is also commonly done. Another piece of code you might want to have a look at is freetype-gl: https://github.com/rougier/freetype-gl.
-
I hate font rendering
Freetype-gl is easy to use: https://github.com/rougier/freetype-gl
msdfgl
Posts with mentions or reviews of msdfgl.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-27.
-
Best approach to render a lot of text.
Is that part of msdfgen? I don't see it. I did find this project: https://github.com/nyyManni/msdfgl
-
I hate font rendering
also, since this is /r/opengl, there's an opengl implementation located here: https://github.com/nyyManni/msdfgl
-
Methods for font rendering
Just found this as well which could help if you really need to robustly generate atlases dynamically at runtime.
What are some alternatives?
When comparing freetype-gl and msdfgl you can also consider the following projects:
stb - stb single-file public domain libraries for C/C++
msdfgen - Multi-channel signed distance field generator
GLFW - A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input
mactype - Better font rendering for Windows.
Craft - A simple Minecraft clone written in C using modern OpenGL (shaders).
vertext - Single-header C library for generating vertices for rendering text
Tehreer-Android - Standalone text engine for Android aimed to be free from platform limitations
cute_headers - Collection of cross-platform one-file C/C++ libraries with no dependencies, primarily used for games
libGDX - Desktop/Android/HTML5/iOS Java game development framework
gtec-demo-framework