LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-16-2006, 11:26 AM   #1
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Where does 'xlsfonts' get it's information?


Running xlsfonts, I some up with a LOT of fonts that are not installed on my system. (Adobe-Utopia is one example of many.) I think this is what causes the common problem people have with Xscreensaver's, Fontglide. Is there any way to make it list only fonts that are actually installed?
 
Old 03-16-2006, 04:42 PM   #2
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
How do you know that xlsfonts lists any fonts that aren't actually installed? Maybe you just need to run "dpkg-reconfigure fontconfig" and select "enable bitmapped fonts by default" in order to make those fonts visible for applications?

You can also install gtkfontsel, which is a nice tool for viewing your installed X fonts (better than xfontsel, IMO).

My Debian system has also some adobe-utopia fonts -- they came with the tex4ht-common package.
 
Old 03-16-2006, 08:10 PM   #3
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Original Poster
Rep: Reputation: 62
OK. I did those things, and it's a lot better. I think Fontglide found the Adobe-Utopia fonts, but it's still trying to find a few it can't

Quote:
fontglide: unable to load font
-B&H-LucidaBright-Medium-R-Normal--41-*-100-100-P-*-ISO8859-1
fontglide: unable to load font
-Adobe-Helvetica-Bold-R-Normal--38-*-100-100-P-*-ISO8859-1
for example

How come these names (hevetica, lucidabright, utopia, etc) don't show up using the 'locate' command? GTKfontsel finds them ok.
 
Old 03-17-2006, 10:15 AM   #4
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
I don't know why xscreensaver cannot find those fonts. Perhaps you should run (as root) "dpkg-reconfigure libpango1.0-common" and check that you've entrusted font management to defoma? You can also try (as root) "fc-cache -fv" but, if that doesn't help, I really have no idea how to fix your problem with fonts.

The "locate" command might need updating its database (by running "updatedb" as root) before it can find all the files on your mounted partitions. After updating, "locate helvetic", "locate lucida" and "locate utopia" should turn up some useful results. You can check to which package a file belongs with "dpkg -S file_name".
 
Old 03-17-2006, 10:45 AM   #5
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Original Poster
Rep: Reputation: 62
Many good suggestions. Thanks. I will work thru them, more for the learning experience than to solve a real problem. I definitely would have run updatedb before using 'locate', tho. I suspect that the reason xscreensaver can't find a few fonts now is related to incomplete font sets provided by whatever program is harboring 'lucidabright', etc.

Information in GTKfontsel says 'Bold' is included in Helvetica, for instance, but it is not listed among the selectable options. (Hope that is understandable. lol).

...and I knew there was an option like dpkg -S, but hadn't gotten around to looking it up, yet.
 
  


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
xlsfonts is dependant on DISPLAY setting not working on one display with Redhat iainsear Linux - General 0 12-21-2004 06:24 AM
xlsfonts is dependant on DISPLAY setting not working on one display with Redhat iainsear Linux - General 0 12-21-2004 06:19 AM
how to run xlsfonts in redhat9.0? eye Red Hat 1 10-21-2003 02:32 AM
xlsfonts: pattern "*" unmatched Zitan Linux - General 1 08-07-2003 10:56 PM
More Information gutter007 Linux - General 2 01-31-2001 07:25 PM

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

All times are GMT -5. The time now is 02:53 AM.

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