Gentoo Archives: gentoo-user

From: Florian Philipp <lists@×××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] xpdf - missing fonts
Date: Wed, 04 Jan 2012 13:53:57
Message-Id: 4F0459A6.6000302@binarywings.net
In Reply to: Re: [gentoo-user] xpdf - missing fonts by Willie WY Wong
1 Am 04.01.2012 11:52, schrieb Willie WY Wong:
2 > On Tue, Jan 03, 2012 at 04:42:43PM -0700, Penguin Lover Joseph squawked:
3 >> On 01/04/12 00:20, Florian Philipp wrote:
4 >>> Am 03.01.2012 23:15, schrieb Joseph:
5 >>>> xpdf it complains about missing fonts
6 >>>> xpdf hl5370d_ukeng_usr.pdf Error: No display font for 'Courier'
7 >>>> Error: No display font for 'Courier-Bold'
8 >>>> Error: No display font for 'Courier-BoldOblique'
9 >>>> Error: No display font for 'Courier-Oblique'
10 >>>> Error: No display font for 'Helvetica'
11 >>>> Error: No display font for 'Helvetica-Bold'
12 >>>> Error: No display font for 'Helvetica-BoldOblique'
13 >>>> Error: No display font for 'Helvetica-Oblique'
14 >>>> Error: No display font for 'Symbol'
15 >>>> Error: No display font for 'Times-Bold'
16 >>>> Error: No display font for 'Times-BoldItalic'
17 >>>> Error: No display font for 'Times-Italic'
18 >>>> Error: No display font for 'Times-Roman'
19 >>>> Error: No display font for 'ZapfDingbats'
20 >>>> Warning: Missing charsets in String to FontSet conversion
21 >>>> Warning: Missing charsets in String to FontSet conversion
22 >>>> Warning: Missing charsets in String to FontSet conversion
23 >>>> Warning: Missing charsets in String to FontSet conversion
24 >>>>
25 >>>> Anybody knows how to install them?
26 >
27 > Xpdf is looking for fonts in places that are strange:
28 >
29 >
30 > open("/usr/share/ghostscript/fonts/n022004l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
31 > open("/usr/local/share/ghostscript/fonts/n022004l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
32 > open("/usr/share/fonts/default/Type1/n022004l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
33 > open("/usr/share/fonts/default/ghostscript/n022004l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
34 > open("/usr/share/fonts/type1/gsfonts/n022004l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
35 > write(2, "Error: ", 7Error: ) = 7
36 > write(2, "No display font for 'Courier-Bol"..., 34No display font for 'Courier-Bold') = 34
37 >
38 >
39 > whereas the above font is actually in
40 >
41 > /usr/share/fonts/urw-fonts/
42 >
43 > (I've been sort of just ignoring this warning, since no pdfs I've used
44 > have had problem displaying, despite those errors.)
45 >
46 > W
47
48 Not sure what causes these errors or if they are related to the current
49 issue at all. However, I guess the reason why it doesn't prevent most
50 PDFs from working is that since PDF-1.5, all fonts have to be included
51 in the PDF itself. Previously, some standard fonts could be assumed to
52 be present on the PC.
53
54 By the way: Does the issue happen with other readers as well?
55
56 Regards,
57 Florian Philipp

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

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