FreeType has become a de facto standard for high-quality text rendering. The library itself is quite easy to use, and the compilation of a static version relies on the makefile similar to other libraries from this chapter.
Download the most recent source code from the library home page: http://www.freetype.org.
The main FreeType concepts are: a font face, a glyph, and a bitmap. Font faces are collections of all the characters in a font for a given encoding. This is exactly what is stored in the
.ttf files (besides copyrights and similar meta information). Each character is called a glyph and is represented using geometrical primitives, such as spline curves. These glyphs are not something ...