Installing fonts in 9.1 breaks gimp & causes font problems in gnome apps
Hi all! Hope someone can help me. I'm having problems with fonts on 9.1 Pro. The problems occur on all 3 machines I have running 9.1. It worked fine under 9.0 w/kde3.2, so it must be something new. Basically, installing extra true type fonts causes the following errors: Gimp-2.0 starts to run, then crashes. Running from a console gives error: Gimp-Text-ERROR **: file gimpfontlist.c: line 235 (gimp_font_list_font_desc_from_pattern): assertion failed: (res == FcResultMatch) Running it with the -f flag, it starts and runs fine (bypassing the error). However, then the fonts look just like in other gnome apps. GKrellm uses nice fonts for the krells, but the config dialogs have the ugly fonts. e2k-gui is also affected. Generally, certain characters seem bolded, like all caps and lc chars 'vywax' I've tried everything I can think of to fix it. The only thing that works is deleting the newly installed fonts, then running `fonts-config -f` I am installing 522 more true-type fonts (38.6MB) for a total of ~980 true-type fonts. I've tried installing them with the KDE font-installer, and from Konqi, and from the cli. I've tried installing them in my "personal" folder, as well as globally. I've tried all the normal solutions, like xset fp rehash for the X core fonts, to fonts-config -f for xft. I've also made sure that the new fonts have the same user/group and file permissions as the existing true-type fonts. After a couple of days working on this, I'm fresh out of ideas. Any help would be greatly appreciated. Regards, Mark
On Tuesday 25 May 2004 10:44 pm, Mark A. Taff wrote:
Hi all! Hope someone can help me.
I'm having problems with fonts on 9.1 Pro. The problems occur on all 3 machines I have running 9.1. It worked fine under 9.0 w/kde3.2, so it must be something new.
Basically, installing extra true type fonts causes the following errors:
Gimp-2.0 starts to run, then crashes. Running from a console gives error: Gimp-Text-ERROR **: file gimpfontlist.c: line 235 (gimp_font_list_font_desc_from_pattern): assertion failed: (res == FcResultMatch)
Running it with the -f flag, it starts and runs fine (bypassing the error). However, then the fonts look just like in other gnome apps.
GKrellm uses nice fonts for the krells, but the config dialogs have the ugly fonts. e2k-gui is also affected.
Generally, certain characters seem bolded, like all caps and lc chars 'vywax'
I've tried everything I can think of to fix it. The only thing that works is deleting the newly installed fonts, then running `fonts-config -f`
I am installing 522 more true-type fonts (38.6MB) for a total of ~980 true-type fonts. [..] Regards, Mark
Mark, Could you be overloading Gimp with fonts? Try adding just a few, then a few more to possibly see where it breaks. That would be my first thoughts, just too many fonts for the system to deal with. You can also put fonts in the Gimp directory for it's use only. There was mention of that on the Gimp list today. Later, Lee -- --- KMail v1.6.2 --- SuSE Linux Pro v9.0 --- Registered Linux User #225206 On any other day, that might seem strange...
On Tuesday 25 May 2004 08:12 pm, BandiPat wrote:
On Tuesday 25 May 2004 10:44 pm, Mark A. Taff wrote:
Hi all! Hope someone can help me.
I'm having problems with fonts on 9.1 Pro. The problems occur on all 3 machines I have running 9.1. It worked fine under 9.0 w/kde3.2, so it must be something new.
Basically, installing extra true type fonts causes the following errors:
Gimp-2.0 starts to run, then crashes. Running from a console gives error: Gimp-Text-ERROR **: file gimpfontlist.c: line 235 (gimp_font_list_font_desc_from_pattern): assertion failed: (res == FcResultMatch)
Running it with the -f flag, it starts and runs fine (bypassing the error). However, then the fonts look just like in other gnome apps.
GKrellm uses nice fonts for the krells, but the config dialogs have the ugly fonts. e2k-gui is also affected.
Generally, certain characters seem bolded, like all caps and lc chars 'vywax'
I've tried everything I can think of to fix it. The only thing that works is deleting the newly installed fonts, then running `fonts-config -f`
I am installing 522 more true-type fonts (38.6MB) for a total of ~980 true-type fonts.
[..]
Regards, Mark
**********
Mark, Could you be overloading Gimp with fonts? Try adding just a few, then a few more to possibly see where it breaks. That would be my first thoughts, just too many fonts for the system to deal with. You can also put fonts in the Gimp directory for it's use only. There was mention of that on the Gimp list today.
Later, Lee -- --- KMail v1.6.2 --- SuSE Linux Pro v9.0 --- Registered Linux User #225206 On any other day, that might seem strange...
You're my hero, Lee! While it wasn't exactly as you suggested, it did lead me to the problem. Turns out two of my fonts were bad, at least as far as 9.1 Pro is concerned. Contrary to what the admin guide says, fonts may indeed have capital letters in their filename. Punctuation characters, however, may cause a problem. For certain an ampersand in a font filename will cause problems. Also, numeric characters _may_ cause problems. More likely though is fonts without proper name & family listed inside the font (as in Konqi's popup filetip) will cause problems. I currently have 945 fonts (52.9 MB) installed and it works great. I installed them by dragging & dropping in Konqi from source to fonts:/System/truetype Then I dropped to a console and did # `fonts-config -f` (as root). [Note for newbies: After a fonts-config, you have to restart an application for it to find the new fonts. If kde itself has messed up fonts, that means logging out, killing X ( ctrl+alt+backspace), then logging back in.] Works great. Now I just have to figure out (remember?) how to tell gnome apps to use smaller font sizes. Thanks for your help. Regards, Mark
participants (2)
-
BandiPat
-
Mark A. Taff