This document describes the details of FreeType 2's internals. It's a good read if you need to understand the innards of the library in order to hack or extend it.