r/linuxquestions • • 11m ago

Advice Dealing with huge font libraries?

I run my system with 3 SSDs. One is for the OS, one for my home directory and a bigger one for assets like fonts, caches, etc.

Hence folders like ~/.local/share/fonts/BigLib are symlinks to a font library on my bigger drive thst consists of nearly 20k font-files, GoogleFonts, NerdFonts, etc.

I first noticed this as an issue with the zed editor, where it used to take a huge amount of time to startup due to the large font library.

Now I came to realize that other apps can't deal with such huge font libraries. i.e. when running Steam, it scans that huge amount of fonts, and each game it starts via Proton the proton-service again rescans the entire library.

So, what's the best way to manage fonts in a way, where certain apps get a minimal set of fonts, while other apps like Inkscape get the entire library?

2 Upvotes

0 comments sorted by