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:59:33
Message-Id: 20120105085939.GB2064@Gee-Mi-Ni.epfl.ch
In Reply to: Re: [gentoo-user] xpdf - missing fonts by Joseph
1 On Wed, Jan 04, 2012 at 08:51:22AM -0700, Penguin Lover Joseph squawked:
2 > adding to /etc/xpdfrc:
3 >
4 > displayFontT1 Times-Roman /usr/share/fonts/urw-fonts/n021003l.pfb
5 > displayFontT1 Times-Italic /usr/share/fonts/urw-fonts/n021023l.pfb
6 > displayFontT1 Times-Bold /usr/share/fonts/urw-fonts/n021004l.pfb
7 > displayFontT1 Times-BoldItalic /usr/share/fonts/urw-fonts/n021024l.pfb
8 > displayFontT1 Helvetica /usr/share/fonts/urw-fonts/n019003l.pfb
9 > displayFontT1 Helvetica-Oblique /usr/share/fonts/urw-fonts/n019023l.pfb
10 > displayFontT1 Helvetica-Bold /usr/share/fonts/urw-fonts/n019004l.pfb
11 > displayFontT1 Helvetica-BoldOblique /usr/share/fonts/urw-fonts/n019024l.pfb
12 > displayFontT1 Courier /usr/share/fonts/urw-fonts/n022003l.pfb
13 > displayFontT1 Courier-Oblique /usr/share/fonts/urw-fonts/n022023l.pfb
14 > displayFontT1 Courier-Bold /usr/share/fonts/urw-fonts/n022004l.pfb
15 > displayFontT1 Courier-BoldOblique /usr/share/fonts/urw-fonts/n022024l.pfb
16 > displayFontT1 Symbol /usr/share/fonts/urw-fonts/s050000l.pfb
17 > displayFontT1 ZapfDingbats /usr/share/fonts/urw-fonts/d050000l.pfb
18 >
19 > solves the problem with missing fonts but I still get a message:
20
21 Indeed! Thanks for the tip.
22
23 > Warning: Missing charsets in String to FontSet conversion
24 > Warning: Missing charsets in String to FontSet conversion
25 > Warning: Missing charsets in String to FontSet conversion
26 > Warning: Missing charsets in String to FontSet conversion
27
28 I could've sworn I've also frequently seen that warning. But I don't
29 see them now. Do they depend on the pdf you try to open?
30
31 > Some pdf documents have on side panel index, does anybody knows what options control the fonts in that index.
32 > On my display they are very small (hard to read) and choppy fonts.
33 >
34
35 It should be the same font as other user interface elements, and
36 controlled via the "-font" option. Hum.... actually that shows where
37 the "Missing charsets in String to FontSet conversion" warning for me!
38 By changing to a different fonts for the interface I can sometimes
39 reproduce the warning. So maybe setting the font will help. You can
40 also make that setting systemwide by putting an appropriate
41 incantation in xpdfrc, according to 'man xpdf'.
42
43 Cheers,
44
45 W
46 --
47 Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire
48 et vice versa ~~~ I. Newton

Replies

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