Fixes missing compressed object detection
Cache fonts by reference.
Merge pull request #3391 from brendandahl/font-cache

Cache fonts by reference.
Merge pull request #3375 from yurydelendik/bug867484

Fixes missing compressed object detection