Tutorial: Rendering text with FreeType and OpenGL ES

This sample app uses a native window to create an EGL on-screen rendering surface. Text is rendered on this surface by using the FreeType library with OpenGL.

This sample app aims to demonstrate how to integrate the use of the FreeType library, OpenGL ES 1.1, and Screen to render text.

Screen showing the output of the app.

You will learn to:

  • Create a native context
  • Initialize and configure EGL for rendering
  • Load a background texture
  • Render text using OpenGL ES 1.1
You can download the complete HelloWorldDisplay sample from GitHub.

Last modified: 2014-11-17



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus