LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-19-2010, 10:20 PM   #1
ntrudaglich
LQ Newbie
 
Registered: Jun 2007
Posts: 13

Rep: Reputation: 0
Pango + Gtk apps fonts error


I'm wondering if anyone can help me with this? I've googled and searched the forums and haven't found any solutions to my problem.
Well I'm running.

Linux (none) 2.4.33.3 #1 Fri Sep 1 01:48:52 CDT 2006 i686 athlon i386 GNU/Linux
Slackware 11.0.0

So kay, I did an upgrade of gtk2 from 2.8.20 to 2.18.6 and all dependencies and so on. No errors no problems. Now basically my gtk apps are broken. I'm getting these following errors.

(ROX-Filer:23937): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='latin'

(ROX-Filer:23937): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common'

(ROX-Filer:23937): Pango-CRITICAL **: _pango_cairo_font_map_get_renderer: assertion `PANGO_IS_CAIRO_FONT_MAP (fontmap)' failed


(xchat:24219): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='latin'

(xchat:24219): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common'

Gftp, xchat same errors and so on, but gtklxsplit doesn't show any errors. I've tried reinstalling pango, and using older versions of pango and so on. The pango-querymodules > /etc/pango/pango.modules I tried that, and fc-cache. Symbolic links (ln -s usr/X11R6/lib/X11/fonts /usr/share/fonts and /usr/local/share/fonts) because I didn't have the fonts directory in /usr/share or /usr/local/share. I even reinstalled some gtk apps no luck. I get the same errors in firefox though the fonts are funny looking, but readable not little boxes. There the same fonts I get when I run pango-view. I don't even have those fonts on my system. I guess my question is how can I fix this, or even how can I get it to stop trying to render fonts I don't have to some fonts I do have. Oh! yeah! pango version 1.26.2.



ntrudaglich
 
Old 01-19-2010, 10:24 PM   #2
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

Rep: Reputation: 227Reputation: 227Reputation: 227
...Fonts...
What distro?
There should be a GTK file or program somwhere (sorry, dont know where) maybe you can set the font path.
I have had my own share of font troubles today.
fc-cache -f may fix it also.
 
Old 01-19-2010, 10:58 PM   #3
ntrudaglich
LQ Newbie
 
Registered: Jun 2007
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by smeezekitty View Post
What distro?

Quote:
Originally Posted by ntrudaglich View Post
Slackware 11.0.0
Quote:
Originally Posted by smeezekitty View Post
There should be a GTK file or program somwhere (sorry, dont know where) maybe you can set the font path.
.gtkrc.mine
### Gtk Fonts

style "user-font"
{
font_name="Courier"
}
widget_class "*" style "user-font"
gtk-font-name="Courier 10"


fc-list |grep -i courier

Courier:style=Bold Italic
Courier:style=Regular
Courier 10 Pitch:style=Bold Italic
Courier:style=Oblique
Courier 10 Pitch:style=Italic
Courier:style=Bold Oblique
Courier 10 Pitch:style=Regular
Courier:style=Italic
Courier 10 Pitch:style=Bold
Courier:style=Bold


Quote:
Originally Posted by smeezekitty View Post
fc-cache -f may fix it also.

Quote:
Originally Posted by ntrudaglich View Post
The pango-querymodules > /etc/pango/pango.modules I tried that, and fc-cache.
Well actually fc-cache -f -v as root.





ntrudaglich

Last edited by ntrudaglich; 01-19-2010 at 11:06 PM.
 
Old 01-19-2010, 11:01 PM   #4
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

Rep: Reputation: 227Reputation: 227Reputation: 227
A quick google seach came up with http://bbs.archlinux.org/viewtopic.php?id=73863
 
Old 01-19-2010, 11:22 PM   #5
ntrudaglich
LQ Newbie
 
Registered: Jun 2007
Posts: 13

Original Poster
Rep: Reputation: 0
[/quote]

Quote:
Originally Posted by smeezekitty View Post
A quick google seach came up with http://bbs.archlinux.org/viewtopic.php?id=73863
Thanks, but I've seen this post it didn't help.

Quote:
Originally Posted by ntrudaglich View Post
I've tried reinstalling pango,
Quote:
Originally Posted by ntrudaglich View Post
The pango-querymodules > /etc/pango/pango.modules I tried that,
Quote:
Originally Posted by ntrudaglich View Post
I don't even have those fonts on my system.

how can I get it to stop trying to render fonts I don't have to some fonts I do have.
I've actually edited my /etc/X11/xorg.conf to add that the /usr/X11R6/lib/X11/fonts/TTF to the path. I tried what was in that post still nothing.




ntrudaglich

Last edited by ntrudaglich; 01-19-2010 at 11:25 PM.
 
Old 01-20-2010, 04:57 PM   #6
ntrudaglich
LQ Newbie
 
Registered: Jun 2007
Posts: 13

Original Poster
Rep: Reputation: 0
I figured out my problem. I never actually installed the gtk upgrade. Pango was actually compiled without cairo support.

Code:
checking for CAIRO... yes
checking which cairo font backends could be used... none
configure: Disabling cairo support
Now when I try to compile fontconfig 2.8.0 I'm getting these errors.
Code:
ranlib: /usr/local/lib/libfontconfig.a: No space left on device
make[3]: *** [install-libLTLIBRARIES] Error 1
make[3]: Leaving directory `/tmp/fontconfig-2.8.0/src'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/tmp/fontconfig-2.8.0/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/tmp/fontconfig-2.8.0/src'
make: *** [install-recursive] Error 1
No space left on device?
Code:
df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             865M  142M  723M  16% /
/dev/hda6             865M  374M  442M  46% /tmp
/dev/hda7             865M  110M  706M  14% /var
/dev/hda8             1.3G  237M  973M  20% /home
/dev/hda9             4.2G  2.5G  1.5G  64% /usr


ntrudaglich
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Update GTK+ error on Pango GT_Onizuka Linux - Software 6 07-14-2005 12:18 AM
GTK 1 apps Fonts problems on KDE tpe SUSE / openSUSE 0 05-11-2005 01:41 PM
Non-readable fonts in GTK apps Clojster Debian 2 12-05-2004 05:11 AM
Pango error configuring gtk+2 donbellioni Linux - Software 10 11-16-2004 07:51 PM
Trying to install gtk: pango 1.4.0 error kidicarus Linux - Software 3 06-30-2004 11:31 AM


All times are GMT -5. The time now is 05:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration