Initial work on font caching. WARNING: This code is broken and will not compile, but I'm going home anyway. SVN revision: 362