From owner-freebsd-questions Wed Feb 12 18: 1:11 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B81D37B401 for ; Wed, 12 Feb 2003 18:01:09 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 107A743FDF for ; Wed, 12 Feb 2003 18:01:08 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a152.otenet.gr [212.205.215.152]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id h1D2154A026990; Thu, 13 Feb 2003 04:01:06 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.7/8.12.7) with ESMTP id h1D2101A002612; Thu, 13 Feb 2003 04:01:06 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.7/8.12.7/Submit) id h1D1FlJ9002003; Thu, 13 Feb 2003 03:15:47 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 13 Feb 2003 03:15:46 +0200 From: Giorgos Keramidas To: Brian Henning Cc: freebsd-questions@FreeBSD.org Subject: Re: fonts problem Message-ID: <20030213011546.GD1355@gothmog.gr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2003-02-12 16:48, Brian Henning 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