Gentoo Archives: gentoo-user

From: Willie WY Wong <wongwwy@××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] xpdf - missing fonts
Date: Thu, 05 Jan 2012 08:48:30
Message-Id: 20120105084921.GA2064@Gee-Mi-Ni.epfl.ch
In Reply to: Re: [gentoo-user] xpdf - missing fonts by Florian Philipp
1 On Wed, Jan 04, 2012 at 02:52:38PM +0100, Penguin Lover Florian Philipp squawked:
2 > Am 04.01.2012 11:52, schrieb Willie WY Wong:
3 > > Xpdf is looking for fonts in places that are strange:
4 > >
5 > >
6 > > open("/usr/share/ghostscript/fonts/n022004l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
7 > > open("/usr/local/share/ghostscript/fonts/n022004l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
8 > > open("/usr/share/fonts/default/Type1/n022004l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
9 > > open("/usr/share/fonts/default/ghostscript/n022004l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
10 > > open("/usr/share/fonts/type1/gsfonts/n022004l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
11 > > write(2, "Error: ", 7Error: ) = 7
12 > > write(2, "No display font for 'Courier-Bol"..., 34No display font for 'Courier-Bold') = 34
13 > >
14 > >
15 > > whereas the above font is actually in
16 > >
17 > > /usr/share/fonts/urw-fonts/
18 > >
19 > > (I've been sort of just ignoring this warning, since no pdfs I've used
20 > > have had problem displaying, despite those errors.)
21 >
22 > Not sure what causes these errors or if they are related to the current
23 > issue at all. However, I guess the reason why it doesn't prevent most
24 > PDFs from working is that since PDF-1.5, all fonts have to be included
25 > in the PDF itself. Previously, some standard fonts could be assumed to
26 > be present on the PC.
27 >
28 > By the way: Does the issue happen with other readers as well?
29
30 I have not tested many readers. But gv and epdfview (which are both
31 installed on my system) do not have this problem.
32
33 W
34 --
35 Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire
36 et vice versa ~~~ I. Newton

Replies

Subject Author
Re: [gentoo-user] xpdf - missing fonts Joseph <syscon780@×××××.com>