1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00
alacritty/font
Joe Wilm e8f5ab89ee Fix memory leak from font resizing
The source of the leak was loading up multiple copies of the FT_face
even when not necessary. Fonts are now appropriately cached for
FreeType when going through the `Rasterize::load_font` API.

Additionally, textures in the glyph cache are now reused.

The result of this is that resizing to already loaded fonts is free
from a memory consumption perspective.
2017-10-14 19:07:43 -07:00
..
src Fix memory leak from font resizing 2017-10-14 19:07:43 -07:00
Cargo.lock Update servo-fontconfig-sys fork 2017-10-08 22:33:01 -07:00
Cargo.toml Update servo-fontconfig-sys fork 2017-10-08 22:33:01 -07:00