Loading fonts takes infinity of time
GIMP version: 2.8.22
Operating System: MacOS High Sierra, Windows 10, Xubuntu 16.04, Ubuntu 18.04, Elementary OS
Package: Gimp 2.8.22 x64 dmg, APT, Gimp-setup.exe
Description of the bug
Gimp will try to load all the system fonts when it starts. This creates unnecessary long load time before the application start.
Reproduction
Is the bug reproducible? Always, across all OS and architectures.
Reproduction steps:
- Install Google Fonts located at https://github.com/Google/fonts
- Open GIMP
- Take a nap because this is going to take a long time.
…
Expected result:
GIMP loads, then skip fonts because you have 3k of them.
Actual result:
GIMP actually loads your 3k fonts and might overflow your memory.
Additional information
One possible solution would be to get the number of fonts before deciding to load them all or not. Because it seems like you guys are fan of this feature, this compromise will make Gimp usable for professionals as well as the common user.
For example :
if count(fonts) <= 1000 {
loadfonts()
}
Also, congrats for the GitLab migration. This migration allowed me to create this bug report and to be heard by the developers, even if you might disagree with me. That's the beauty of a community! BugZilla is way too complicated for me :)