From owner-freebsd-questions Tue Apr 27 3:11:43 1999 Delivered-To: freebsd-questions@freebsd.org Received: from coventry.ac.uk (mercury.coventry.ac.uk [193.61.107.16]) by hub.freebsd.org (Postfix) with ESMTP id 9E994150D9 for ; Tue, 27 Apr 1999 03:11:33 -0700 (PDT) (envelope-from justin@mascarpone.coventry.ac.uk) Received: from mascarpone.coventry.ac.uk (mascarpone.coventry.ac.uk [194.66.38.77]) by coventry.ac.uk (8.8.7/8.6.11) with SMTP id LAA24048; Tue, 27 Apr 1999 11:11:32 +0100 (BST) Received: (from justin@localhost) by mascarpone.coventry.ac.uk (950413.SGI.8.6.12/950213.SGI.AUTOCF) id LAA24650; Tue, 27 Apr 1999 11:11:25 +0100 Message-Id: <199904271011.LAA24650@mascarpone.coventry.ac.uk> Date: Tue, 27 Apr 99 11:11 +0100 From: Justin Murdock Reply-To: justin@csad.coventry.ac.uk Subject: Re: How to install bdf fonts To: Doug White Cc: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit In-Reply-To: Doug White's mail of Mon, 26 Apr 99 16:21 +0700 X-Mailer: Af v1.98.4 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Sun, 25 Apr 1999, Stan Brown wrote: > > I need to install some .bdf fonts provided by a vendoe of a control > > system, so that I can disply thier application on my FreeBSD box. > > Can someone clue me in as to how to do this? Or point to appropriate > > docs? > A .bdf is a PostScript font. I think there is a PostScript->X font > converter in the ports tree, but I'm not sure. I think you're thinking of .pfb (postscript font binary), which need no special treatment. however there is mention of bdftopcf - convert X font from Bitmap Distribution Format to Portable Compiled Format You have 2 choices once you have converted the files to pcf, 1) install globally 2) or not. if you install globally, put your converted pcf fonts into one of the /usr/X11R6/lib/X11/fonts/ directories (I'd suggest misc), otherwise put them where ever you want. Run mkfontdir wherever you put them. (You may choose to make a backup of fonts.dir before running mkfontdir. this allows you to compare the before and after files to see what's been added) If you've gone for the gloabal approach the X server will need to be notified: % xset fp rehash If you've put them somewhere else, you need to use: % xset +fp verify installation with xfontsel SEE ALSO pfb2pfa(1), mkfontdir(1), xfontsel(1) Justin. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message