Beware, this was just the "minimal user's overview" - font technology is really complex and I just got started reading.
(Understanding will hopefully follow some day..
)
Check the wikipedia articles about cairo - xft - freetype - pango, rather helpful, all of them.