diff options
author | Andreas Kling <kling@serenityos.org> | 2021-07-04 20:21:24 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-04 21:34:26 +0200 |
commit | 49d0b9e808584663da116b2dc50e7dfc2c247b60 (patch) | |
tree | cdb1cf0c8c654157ee641505fd6839341321c0ee /README.md | |
parent | 560109bd42006c15170521c69a0d50d141ef65ec (diff) | |
download | serenity-49d0b9e808584663da116b2dc50e7dfc2c247b60.zip |
LibTTF: Memory map TTF fonts instead of reading them into heap memory
All GUI applications currently load all TTF fonts on startup
(to populate the Gfx::FontDatabase. This could probably be smarter.)
Before this patch, everyone would open the files and read them into
heap-allocated storage. Now we simply mmap() them instead. :^)
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions