After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 795074 - Slow Loading Fonts
Slow Loading Fonts
Status: RESOLVED DUPLICATE of bug 782676
Product: GIMP
Classification: Other
Component: Data
2.8.22
Other Windows
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2018-04-08 13:41 UTC by jmrhide-gimp
Modified: 2018-04-17 14:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jmrhide-gimp 2018-04-08 13:41:47 UTC
As noted by other users, GIMP can be very slow loading fonts. There was a previous version that didn't have this flaw. Can it be fixed via some setting? Fonts are not a feature I often need so the five-second wait to load them in the middle of editing a screenie is really annoying!
Comment 1 Michael Schumacher 2018-04-09 21:23:14 UTC
It would be much more than five seconds when this slow loading issue kicks in, so what you are experiencing is not what others are reporting.

Script-Fu's script loading is the longest part or GIMP startup if everything else is right.
Comment 2 jmrhide-gimp 2018-04-10 00:52:25 UTC
Post in haste, repent at leisure. This time I actually measured the loading time and it was about 25 seconds! This is on a system that runs all the latest games and exceeds recommended specs for most of them. Most of that long time was spent on fonts. WTF?
Comment 3 Michael Schumacher 2018-04-10 08:24:46 UTC
On a less-than current Windows 7 system, I do not even see the fonts step in the splash dialog.

The 25 seconds could be due to your GIMP rebuilding the font cache every time you run it, and this would be an exceptionally fast speed then.

Can you check if you got a corrupt font cache and if renaming and deleting it makes GIMP start up faster after one initial rebuild? See https://bugzilla.gnome.org/show_bug.cgi?id=782676#c14 for the location of the cache directory.
Comment 4 jmrhide-gimp 2018-04-10 09:55:30 UTC
I found a folder named fontconfig in C:\Program Files\GIMP 2\Share\xml\ --
in that folder is a file named fonts.dtd dated 5/9/17 and containing 8 Kb of something. I renamed it to fonts.old and started the program three times:
1. 25"
2. 18"
REBOOT
3. 25"
There's no new file in the folder fontconfig.

BTW my C: drive is a Crucial MX 200 250GB SSD married to an Intel Core i7-4790K CPU and an updated version of Win 7 Pro SP1, a Gigabyte GeForce GTX 980 GPU, and 8 Gb of RAM.
Comment 5 Michael Schumacher 2018-04-17 08:08:55 UTC
The directory you found is not %LOCALAPPDATA%\fontconfig

You can enter the directory name as shown into Windows Explorer, it will expand the environment variable and get you to the proper location.
Comment 6 jmrhide-gimp 2018-04-17 09:52:48 UTC
Ahh...

Found and renamed that elusive folder to fontconfig.old.

First start = 27"

Restart = 3"

:-)

I wonder if there's a way to enable GIMP to detect and auto-correct that particular issue?

Thanks for your help!
Comment 7 Michael Schumacher 2018-04-17 14:50:33 UTC

*** This bug has been marked as a duplicate of bug 782676 ***