Skip to content

Example code which uses SDL, freetype, and harfbuzz to do ttf/otf text layout and rendering

Notifications You must be signed in to change notification settings

SuperWangKai/ex-sdl-freetype-harfbuzz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simplish sample application to get from zero to rendering unicode text using harfbuzz to do the text layout, freetype for the underlying font magic, some trivial code for the anti-aliased font rasterization, and the SDL to create the window to display stuff in.

Based on and forked from https://github.com/anoek/ex-sdl-cairo-freetype-harfbuzz/

Many thanks.

Screenshot

Screenshot

About

Example code which uses SDL, freetype, and harfbuzz to do ttf/otf text layout and rendering

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 96.9%
  • Makefile 3.1%