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 456799 - "Fonts" cause load time to be 5X previous version
"Fonts" cause load time to be 5X previous version
Status: RESOLVED DUPLICATE of bug 154968
Product: GIMP
Classification: Other
Component: General
2.2.x
Other Windows
: Normal major
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2007-07-14 07:02 UTC by Scott Albertine
Modified: 2008-01-15 13:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Scott Albertine 2007-07-14 07:02:44 UTC
I upgraded from 2.2.14 to 2.2.16, and all of a sudden when I load GIMP it takes around 2 full minutes, rather than 15 seconds.  This is because it spends about 1 minute 30 seconds loading fonts.  What has caused this sudden huge increase in load time?  With this increase, loading GIMP quickly to do a resize or crop on an image is now impossible.  I have tried deleting the fonts folder that GIMP supposedly uses (although this folder registered as being empty) but to no avail.  Thanks for listening, hope this can be solved quickly, it's getting more annoying  all the time.
Comment 1 Michael Schumacher 2007-07-14 07:26:34 UTC
Did you read the FAQ at http://gimp-win.sourceforge.net/faq.html ? This problem is described there.
Comment 2 Steven Reid 2007-07-14 17:13:34 UTC
So, I have the same issue.  I'm running version 2.2.16 with GTK 2.10.13 on Windows Vista Home Basic.  It appears that GIMP is not able to create the .fonts.cache-1 file as I don't have one to delete.  I tried running GIMP as administrator (assuming it was a permission issue) with no success.  Other files like the .thumbnails are there and appear to be updating fine.  This appears to only be an issue on startup.
Comment 3 Scott Albertine 2007-07-14 17:36:20 UTC
I did have a .fonts.cache-1 file, but deleting it as per the FAQ didn't change the load time.  I'm not sure if this is odd, but I have retried loading GIMP several times with different settings, and it has yet to be re-created.  Removing about half my default fonts isn't changing it either.  I am running Vista Home Premium, and I think the problem may be caused by the very large number of fonts that are installed by default in Vista.  (415 on my system, and that's after removing a bunch that were installed by Office.  Possibly the 2.2.16 release fixed an issue that caused GIMP not to load the fonts in 2.2.14 (I never used the text tool in 2.2.14, so I don't know if it worked).  I use GIMP primarily for photo-retouching/photo-manipulation art.  Also, I tried uninstalling 2.2.16 and reinstalling 2.2.14 (I happened to have a backup of the installer) but it did not fix the load time.  I am currently running GIMP using the --no-fonts argument, and the load time is now back to the 15 seconds it was before the update.  However, I think the problem could be easily fixed if the GIMP could be setup to load only the fonts that are in the .gimp-2.2\fonts folder, instead of the system wide fonts.  The website tells how to do this in Linux, but we're both on windows, so how would this be done in windows?  
Comment 4 Raphaël Quinet 2007-07-15 21:31:14 UTC
This is most likely a duplicate of bug #154968, which also refers to slow loading of fonts in Vista Home Premium (and several users who were affected when upgrading from XP to Vista).  That bug also mentions that the newer GIMP uses newer versions of gtk+ and fontconfig, and the problem seems to be related to these libraries.

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