For completeness, here again a link to
the example used and explained in
the first part of the
contributed a very nice C++ example that shows renderer
callbacks in action to draw a coloured glyph with a
differently coloured outline. The source code can be
Another example demonstrates
how to use FreeType's stand-alone rasterizer,
ftraster.c, both in B/W and 5-levels gray mode.
You need files from FreeType version 2.3.10 or newer.
contributed a small
Qt demonstration program
(together with its qmake file)
that shows both direct rendering with a callback and
rendering with a buffer, yielding the same result. You
need FreeType 2.4.3 or newer.
Last update: 13-Dec-2014