servo/servo — pull request #3298 by glennw (2014-09-12 03:20:23+00:00)
Title: Reduce number of font instances and shaper structures created.

The font cache previously kept weak references to the fonts,
however in layout these fonts are dropped before they are
referenced again, so no caching was being used.

For now, just hold a strong reference in the cache, which means
that fonts will never be thrown out (this will need to be fixed
in the future).

This fixes bug #3295.