LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-10-2006, 06:35 PM   #1
Drone4four
Member
 
Registered: Feb 2006
Distribution: Slackware, Gentoo, Manjaro
Posts: 205

Rep: Reputation: 30
fonts all messed up


I followed this guide to change my fonts for fluxbox:

http://fluxbox-wiki.org/index.php/Howto_install_fonts

I got stuck at step 6. The specified command didn’t seem to work:
Code:
# fc-cache –fv
bash: fc-cache: command not found
# exit
exit
$
Well, now all my KDE apps render boxes instead of fonts. AbiWord, X-Chat, Firefox won’t start. I don’t know how to reverse the damage that’s been done to my xorg font system. Do you?

I tried adding the artwiz fonts because that's what is suggested in the #fluxbox topic. The topic message reads:
Quote:
1.0rc2 is out! Get it, test it, submit bugs! fluxbox.org/version-0.9.php |DOCS:fluxbox.sf.net/docbook/en/html | http://fluxbox-wiki.org/ |artwiz-fonts: try install http://artwizaleczapka.sourceforge.net/ to avoid problems | join #fluxbox-chitchat if you want to discuss offtopic stuff
edit:sp + formatting
edit: corrected the typo jimX86 spotted (below)

Last edited by Drone4four; 08-10-2006 at 07:45 PM.
 
Old 08-10-2006, 06:52 PM   #2
jimX86
Member
 
Registered: Mar 2006
Distribution: Slackware64 -current
Posts: 268
Blog Entries: 1

Rep: Reputation: 79
Try typing in the full path to fc-cache and see if that works...
/usr/X11R6/bin/fc-cache
 
Old 08-10-2006, 07:44 PM   #3
Drone4four
Member
 
Registered: Feb 2006
Distribution: Slackware, Gentoo, Manjaro
Posts: 205

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by jimX86
Try typing in the full path to fc-cache and see if that works...
/usr/X11R6/bin/fc-cache
fv-cache was a type on this message board and not in my command prompt. I'll edit my post to correct the typo.

As for the full path, it exists but I receive this error:
Code:
#/usr/X11R6/bin/fc-cache
Fountconfig error: Cannot load default config file
# exit
exit
$
I really hope slackware is not permanently messed up!
 
Old 08-10-2006, 08:08 PM   #4
jimX86
Member
 
Registered: Mar 2006
Distribution: Slackware64 -current
Posts: 268
Blog Entries: 1

Rep: Reputation: 79
I'm not sure I follow exactly what you did.

I checked the link that you posted. For #5, it tells you to edit
/etc/fonts/local.conf, but that file doesn't exist in Slackware by default. Did you create a file by that name or something? (I think X11 already knows about ~/.fonts. You shouldn't have to do anything for step #5.)
 
Old 08-10-2006, 09:25 PM   #5
Drone4four
Member
 
Registered: Feb 2006
Distribution: Slackware, Gentoo, Manjaro
Posts: 205

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by jimX86
I'm not sure I follow exactly what you did.

I checked the link that you posted. For #5, it tells you to edit
/etc/fonts/local.conf, but that file doesn't exist in Slackware by default. Did you create a file by that name or something? (I think X11 already knows about ~/.fonts. You shouldn't have to do anything for step #5.)
I did create a local.conf file.

thrice` from #slackman on freenode suggested I reinstall fonts from slackware-current. Luckily on my hard drive I have a recent copy of slackware-current. So the command I entered was
Code:
# upgrade --resintall /tmp/slackware-current/slackware/x/x11-fonts*.tgz
# upgrade --resintall /tmp/slackware-current/slackware/x/fontconfig-2.2.3-i486-1.tgz
 
Old 08-10-2006, 09:33 PM   #6
jimX86
Member
 
Registered: Mar 2006
Distribution: Slackware64 -current
Posts: 268
Blog Entries: 1

Rep: Reputation: 79
That would reinstall fonts.conf and fonts.dtd. So are you good to go now? Do your new fonts work?
 
Old 08-10-2006, 09:44 PM   #7
Drone4four
Member
 
Registered: Feb 2006
Distribution: Slackware, Gentoo, Manjaro
Posts: 205

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by jimX86
That would reinstall fonts.conf and fonts.dtd. So are you good to go now? Do your new fonts work?
I'm just gonna give up on these new fonts. I'm just glad to have my old fonts back!
 
Old 08-10-2006, 10:10 PM   #8
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
I've got the exact same problem in FreeBSD trying to install fonts. I'm hoping this will fix it.
 
Old 08-11-2006, 09:58 AM   #9
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644

Rep: Reputation: 145Reputation: 145
I bookmared a posting about getting local fonts to work a long time ago and it always worked for me. Step 4 is what did the trick for me, but don't ask me why

http://www.linuxquestions.org/questi...71#post1013471
 
Old 08-13-2006, 09:22 PM   #10
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Regenerating the font cache using fc-cache works for me.
 
  


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
Fonts messed up in Steam GT_Onizuka Linux - Games 3 09-03-2004 07:55 PM
XFree86 4.4 messed up fonts Wynd Slackware 20 04-17-2004 04:18 PM
konqueror fonts messed up mi6alec Mandriva 2 03-06-2004 08:05 AM
messed up menu fonts in wine -- help coolamit78 Linux - Software 0 03-05-2004 11:26 AM
Messed up fonts.. creepynut Linux - General 0 08-25-2003 01:52 AM

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

All times are GMT -5. The time now is 10:21 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