alacritty/font/src
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
..
darwin Scale all fonts based on device-pixel-ratio 2017-10-08 22:20:58 -07:00
ft Fix memory leak from font resizing 2017-10-14 19:07:43 -07:00
lib.rs Fix memory leak from font resizing 2017-10-14 19:07:43 -07:00