[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Where is font "-Adobe-Helvetica-Bold-R-Normal--*-120-*-*-*-*-*-*"?



Mark Phillips wrote:
> 
> When I try to run either fr (filerunner) or tkman, it comes up with
> similar messages, both complaining about the lack of the font:
> 
> "-Adobe-Helvetica-Bold-R-Normal--*-120-*-*-*-*-*-*"
> 
> It works fine on my machine at home, and as far as I can tell, they both
> have the same fonts installed.  So, what fonts need to be installed, or
> what isn't configured properly?

Here's how you can find out. In /usr/lib/X11/fonts there are a number of
directories. Each of the directories will have a fonts.alias file or a
fonts.scale file in it. You can search these for the above font by using
find. Run this:

find /usr/lib/X11/fonts \( -name fonts.scale -o -name fonts.alias \) -exec grep -i -e '-Adobe-Helvetica-Bold-R-Normal-.*-.*-120-.*-.*-.*-.*-.*-.*' {} \; -ls

and if that doesn't get you the file try:

find /usr/lib/X11/fonts \( -name fonts.scale -o -name fonts.alias \) -exec grep -i -e '-Adobe-Helvetica-Bold-R-Normal-.*-.*-.*-.*-.*-.*-.*-.*-.*' {} \; -ls

if that doesn't work then

find /usr/lib/X11/fonts \( -name fonts.scale -o -name fonts.alias \) -exec grep -i -e '-Adobe-Helvetica-Bold-R-.*-.*-.*-.*-.*-.*-.*-.*-.*-.*' {} \; -ls

and so on until you find the best match (the one with the most elements matching).

Then take the filename which it was grep'ed from and do

dpkg --search <filename>

to find the package. Simple huh? 8) X has a fancy way of specifying fonts
which is very flexible (more flexible than a simple find/grep command can locate
exactly the same).

-- 
Jens B. Jorgensen
jjorgens@bdsinc.com


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: