Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2003 03:15:46 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Brian Henning <b1henning@hotmail.com>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: fonts problem
Message-ID:  <20030213011546.GD1355@gothmog.gr>
In-Reply-To: <OE44Y23PDH8qHNwK39F0000f16a@hotmail.com>
References:  <OE44Y23PDH8qHNwK39F0000f16a@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-02-12 16:48, Brian Henning <b1henning@hotmail.com> 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 majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030213011546.GD1355>