mirror of
https://github.com/servo/servo.git
synced 2025-08-02 12:10:29 +01:00
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). |
||
---|---|---|
.. | ||
canvas | ||
compositing | ||
gfx | ||
layout | ||
layout_traits | ||
macros | ||
msg | ||
net | ||
script | ||
script_traits | ||
style | ||
util |