Gentoo Archives: gentoo-user

From: Harry Putnam <reader@×××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] fonts mostly inaccessable to xterm
Date: Sun, 05 Mar 2017 12:41:23
Message-Id: 86lgsjrj4z.fsf@local.lan
1 Setup: VBox vm running gentoo(amd64) guest on a win-10 (64bit) host
2 Hardware: HP xw8600 - 2x Xeon CPU X5450 @ 3.00GHz - 32 GB ram
3
4 I've been trying to get fonts to load into xterm most of the day.
5
6 I'm not getting anywhere.
7
8 for example:
9 /usr/share/fonts shows all these:
10
11 100dpi corefonts encodings inconsolata-hellenic misc util
12 75dpi cyrillic inconsolata liberation-fonts urw-fonts
13
14 Probably going at this ass backwards but it seems just about none of
15 thes are accessabel to an xterm
16
17 xlsfonts shows many `misc fixed' fonts that can be loaded into xterm.
18
19 But I have not found how to load any of the others.
20
21 For example: fc-list shows a whole different list of fonts.
22 I tried several and none of those were loadable into xterm.
23
24 Trying by there names inside the directories above I have found none
25 are recognized by xterm
26
27 Looking at the fonts.dir files .. at least most of those names look
28 familiar in the format I'm used to such as this:
29
30 -misc-fixed-bold-r-normal--15-120-100-100-c-90-iso8859-1
31 That one is found with xlsfonts.
32
33 Something like this from inconsolata fonts.dir file:
34
35 -misc-inconsolata-medium-r-normal--0-0-0-0-m-0-iso8859-1
36
37 xterm -fn -misc-inconsolata-medium-r-normal--0-0-0-0-m-0-iso8859-1
38 xterm: cannot load font '-misc-inconsolata-medium-r-normal--0-0-0-0-m-0-iso8859-1'
39 xterm: cannot load font '-misc-inconsolata-medium-r-normal--0-0-0-0-m-0-iso8859-1'
40
41 trying the other kind of names there:
42
43 xterm -fn Inconsolata-Regular.ttf
44 xterm: cannot load font 'Inconsolata-Regular.ttf'
45 xterm: cannot load font 'Inconsolata-Regular.ttf'
46
47 Leave it at that for the moment...
48
49 googling for hours on this I find xterm can understand a different
50 switch `xterm -fa bla-bla'
51
52 However, xterm as installed from portage does not understand that
53 switch at all.
54
55 Some of the googling mentioned that xterm has to have that ability
56 compiled in, so I wondered if our xterm is compiled for that option?
57
58 And further if anyone knows what that compile option might be?
59
60 Can anyone offer some guidance here...
61
62 How to get a few of those fonts to be loadable into an xterm?

Replies

Subject Author
Re: [gentoo-user] fonts mostly inaccessable to xterm Corbin Bird <corbinbird@×××××××.net>