Gentoo Archives: gentoo-user

From: Willie WY Wong <wongwwy@××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] xpdf - missing fonts
Date: Fri, 06 Jan 2012 08:56:43
Message-Id: 20120106085703.GA2022@Gee-Mi-Ni.epfl.ch
In Reply to: Re: [gentoo-user] xpdf - missing fonts by Joseph
1 On Thu, Jan 05, 2012 at 10:36:29AM -0700, Penguin Lover Joseph squawked:
2 > On 01/05/12 09:59, Willie WY Wong wrote:
3 > >It should be the same font as other user interface elements, and
4 > >controlled via the "-font" option. Hum.... actually that shows where
5 > >the "Missing charsets in String to FontSet conversion" warning for me!
6 > >By changing to a different fonts for the interface I can sometimes
7 > >reproduce the warning. So maybe setting the font will help. You can
8 > >also make that setting systemwide by putting an appropriate
9 > >incantation in xpdfrc, according to 'man xpdf'.
10
11 > How to you control it via ""-font" option?
12 > It seems to me I'm missing some fonts or they are not correctly setup.
13 > I've added these fonts to /etc/xpdfrc but it did not help.
14 >
15
16 I use the font names given by `xfontsel'
17
18 Suppose I want to use 'times' family, regular weight, no slant, pixel
19 size 14 (just to make it bigger), I select those options in xfontsel
20 using the dropdown lists, and click 'select' (which copies the string
21 to the clipboard). I then paste the string, which happens to be the
22 -*-times-medium-r-*-*-14-*-*-*-*-*-*-*
23 into my xpdf incantation
24 xpdf -font -*-times-medium-r-*-*-14-*-*-*-*-*-*-*
25 and I get the chosen font for the interface elements.
26
27 You can alternatively set the X resource xpdf*fontList using the
28 method described http://xwinman.org/resource.php
29
30 (basically add to ~/.Xdefaults or ~/.Xresources the line
31 xpdf*fontList: -*-times-medium-r-*-*-14-*-*-*-*-*-*-*
32 and restart X [? I am not sure if that is necessary, memory suggests
33 that this file is only read when X starts, but my memory could be
34 faulty])
35
36 W
37
38 --
39 Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire
40 et vice versa ~~~ I. Newton