parley icon indicating copy to clipboard operation
parley copied to clipboard

`FontCache::new()` consumes an absurd amount of memory

Open Speykious opened this issue 3 years ago • 0 comments

parley is currently used in xilem for text stuff.

I did some heap profiling and discovered that FontCache::new() consumes an absurd amount of memory (1.8 GiB, precise measurements in the link)...

It seems that was parley does is to load every font of my system into memory?

Speykious avatar Dec 11 '22 12:12 Speykious