LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-05-2008, 11:16 AM   #1
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Slackware 12.1: Pango and seriously mangled fonts


I just did the upgrade to 12.1 and I'm finding that a large number of my fonts are seriously screwed up, to the point of the system being unusable. Not everything is being affected, just some things. For example, in both Firefox and Thunderbird, most things are fine, but dialog boxes have square boxes instead of letters. Rox is similar as are a few other programs. What seems to be a common theme is that it is the small fonts (10 pts or less) that are goofed up (but not always, sometimes larger ones are as well).

The common theme seems to be Pango, and if I run one of the problem apps from the console, I get several entries like this:

Code:
(thunderbird-bin:23611): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Bitstream Vera Sans 9.591796875'
It is repeated for every font that the program can't seem to deal with.

Things I've done so far:

Googling - This has been pretty uninformative and most of the threads I've seen are revolving around Firefox 3, which isn't the case here.

I've tried recompiling freetype (and enabled both subpixel rendering and bytecode rendering) and that didn't seem to make a difference.

Any suggestions would be GREATLY appreciated as this may cause me to roll back to Slackware 12 in a hurry.
 
Old 05-05-2008, 02:10 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Sounds like an upgrade gone wrong. Did you follow CHANGES_AND_HINTS.TXT and UPGRADE.TXT in the root of the Slackware tree (DVD or CD#1)?

Eric
 
Old 05-05-2008, 02:43 PM   #3
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803

Original Poster
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Yeah, I followed those to the letter. About the only serious deviation is that the upgrade media were mounted .iso files that reside on a separate server so I didn't do the switch to runlevel 1. Since it is a single user machine, I didn't think that would be an issue.
 
Old 05-05-2008, 05:32 PM   #4
Mellar
LQ Newbie
 
Registered: Jan 2008
Posts: 29

Rep: Reputation: 15
I don't have a clue if our problmes were related and if my solution would be correct in your case. But I had the problem that xorg wouldn't start because some «default fixed font» wasn't available. I did upgrade from Slackware 12.0 just like you.

Well here is what worked for me:
I logged in as root and launched pkgtool
From the menu I choosed "Setup" and then I marked both "04.mkfontdir" and "05.fontconfig" and choosed "ok".

I can try to explain what this actually does. The setup menu in pkgtool runs different installation scripts which you probably haven't run when you did your upgrade. The "04.mkfontdir" runs mkfontdir and mkfontscale in font directories, while "05.fontconfig" runs fc-cache to locate new fonts for Xft.

Hope this helps!

Last edited by Mellar; 05-05-2008 at 05:34 PM.
 
Old 05-05-2008, 05:44 PM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803

Original Poster
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Thanks for the thoughts. Unfortunately I ran out of time to fool around with this and ended up nuking from orbit and re-installing Slackware 12.1 from CD. Fonts are fine now, so I do suspect that Eric was right about an upgrade gone bad. For what it's worth, I did try running both mkfontdir and mkfontscale from console, but I never re-installed the way Mellar suggests.

Thanks again!
 
  


Reply



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
error in the creation of `etc/pango/pango.modules` okeyla Linux - Newbie 3 07-02-2011 08:06 PM
pango-1.16.4 compile error (pango-querymodules) nigel_1820 Linux - Software 1 07-23-2007 01:10 AM
characters are mangled up sonaht Linux - Newbie 4 11-12-2004 01:24 AM
Problem with fonts after upgrading to Pango 1.4.1 nazarioz Linux - Newbie 2 09-24-2004 10:54 PM
Problem with fonts after upgrading to Pango 1.4.1 nazarioz Linux - Software 2 09-24-2004 10:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:43 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
Open Source Consulting | Domain Registration