Cache fonts by reference.
Merge pull request #3391 from brendandahl/font-cache

Cache fonts by reference.