Render text with FreeType and OpenGL ES
Syntax:
font-freetype [-bg=background_texture_path]
[-font=font_path]
[-message=message]
Options:
- -bg=background_texture_path
-
Path where the background texture you're using is located. The default of
/usr/share/gles/textures/bubble.png is used when this option isn't
specified.
- -font=font_path
-
Path where the font you're using is located. The default of
/usr/share/fonts/NotoSans-Regular.ttf is used when this option isn't
specified.
- -message=message
-
Text message to render. The default message of "Hello world"
is used when this option isn't specified.
Description:
The font-freetype utility is a command-line tool that demonstrates
rendering of fonts using the FreeType library. See the
Font Rendering section.
To run font-freetype:
- Ensure that screen is running.
- Run font-freetype from a shell.