Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jun 2004 00:22:51 -0500
From:      Mike Meyer <mwm@mired.org>
To:        Jonathan Chen <jonc@chen.org.nz>
Cc:        questions@freebsd.org
Subject:   Re: xpdf help
Message-ID:  <16602.25899.29235.423546@guru.mired.org>
In-Reply-To: <20040624040408.GA62448@grimoire.chen.org.nz>
References:  <16601.46787.329252.44059@guru.mired.org> <20040624040408.GA62448@grimoire.chen.org.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
In <20040624040408.GA62448@grimoire.chen.org.nz>, Jonathan Chen <jonc@chen.org.nz> typed:
> On Wed, Jun 23, 2004 at 11:58:43AM -0500, Mike Meyer wrote:
> > For some reason, xpdf (version 3.00, as installed on FreeBSD 4.9 by
> > the ports system) can't find the Courier, Times, Helvetica and Symbol
> > fonts that are built into it. Using xfontsel to try the selectors
> > listed in xpdfrc finds the fonts just fine.
> > 
> > Clues? Hints? Anything?
> 
> You need to install ghostscript-gnu for the fonts. I've asked the
> maintainer to put a note into the port about this, but he's not
> listening..

Ghostscript-gnu is installed. Unfortunately, LOCALBASE is /usr/opt,
and the port apparently doesn't change the default locations that it
looks for fonts to include LOCALBASE/share/fonts.

I fixed this problem - well, mostly - by adding a fontDir line top
~/.xpdfdir that points to a collection of commercial fonts that
include the 14 base fonts. xpdf complains about not being able to find
the fonts, but renders pages properly anyway.

	<mike
-- 
Mike Meyer <mwm@mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.



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