On 2003-02-12 16:48, Brian Henning <[EMAIL PROTECTED]> wrote:
> One of my x-apps gives me an error when I try to run it on my bsd
> box.  It gives me the error:
>
> Unable to load font '*times*-r-*6*'.

That's probably an error because there are too many matches for that
particular font name:

$ find /usr/X11R6/lib/X11 -name fonts.\* | xargs grep -l '.*times.*-r-.*6.*'
/usr/X11R6/lib/X11/fonts/100dpi/fonts.dir
/usr/X11R6/lib/X11/fonts/75dpi/fonts.dir
/usr/X11R6/lib/X11/fonts/cyrillic/fonts.dir

Try specifying in the X11 resources of that particular program a font
name that doesn't include so many wildcards.  As an example, here's
one line from my ~/.Xresources file:

        XTerm*font3: -b&h-lucidatypewriter-medium-r-*-*-10-*-*-*-*-*-iso8859-1

This sets the 'small' font of xterm(1) windows to lucida-typewriter at
10 points.  If I set this resource to:

        XTerm*font3: *lucidatypewriter*-r-*10*

then xterm fails to locate the font because too many fonts match.

> First, where should i begin to look for this font and how can i
> install it?

At the documentation of the program.  Find out what X11 resources
can be used to select fonts, and add the proper resources to your
~/.Xresources file.  Then look at the manpage of xrdb(1) and run
it manually with `xrdb -merge ~/.Xresources' to pick the recent
changes to .Xresources or restart X11.

- Giorgos


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to