Commit graph

104 commits

Author SHA1 Message Date
Glenn Watson
d9662fc571 Fix font flickering due to missed check in font cache. 2014-09-16 14:35:22 +10:00
Glenn Watson
df48e33926 Fix comment and and reference to bug #3300 2014-09-12 14:00:55 +10:00
Glenn Watson
9ec3c9374d 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).
2014-09-12 13:17:44 +10:00
Jack Moffitt
c6ab60dbfc Cargoify servo 2014-09-08 20:21:42 -06:00
Renamed from src/components/gfx/font_context.rs (Browse further)