Skip to content

A simple C++ text renderer using OpenGL, FreeType, and Harfbuzz. Supports subpixel antialiased rendering, ligatures, emojis, as well as having great performance.

License

Notifications You must be signed in to change notification settings

mrandri19/freetype-opengl-experiments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build status badge

Development

NOTE: These steps are copied from the worflow file which is the most up-to-date source on how to build the project.

git clone https://github.com/mrandri19/freetype-opengl-experiments
cd freetype-opengl-experiments

sudo apt-get update
sudo apt-get install libglfw3-dev libglm-dev

cmake -E make_directory build

cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug
cmake --build . --config Debug 

Screenshots

The first text rendered with LCD Subpixel rendering.

The first emojis rendered.

The first paragraph of emojis rendered.

Emojis rendered with incorrect gamma blending.

Emojis rendered with correct gamma blending.

Side by side comparison with VSCode

Side by side comparison with Sublime Text 3

About

A simple C++ text renderer using OpenGL, FreeType, and Harfbuzz. Supports subpixel antialiased rendering, ligatures, emojis, as well as having great performance.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages