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 added some fonts from outside portage this way: |
5 |
|
6 |
(Sorry that what follows is a bit of a confusing mess) |
7 |
|
8 |
mkdir /usr/share/fonts/terminus |
9 |
loaded the fonts into termininus |
10 |
|
11 |
Ran: |
12 |
mkfontdir /usr/share/fonts/terminus |
13 |
Ran: |
14 |
xset fp rehash |
15 |
|
16 |
Which is supposed to tell the X fonts tools about the new |
17 |
set of fonts with out having to restart X. |
18 |
|
19 |
I thought a bit and wondered if I might should have added the new |
20 |
directory to the font path.. I don't really think so since the default |
21 |
path covers the new one but still....so: |
22 |
|
23 |
Ran: |
24 |
xset +fp /usr/share/fonts/terminus |
25 |
|
26 |
That is supposed to prepend that path to the existing path. |
27 |
|
28 |
Checked with: |
29 |
|
30 |
xset q |
31 |
|
32 |
And I see the new directory |
33 |
|
34 |
Font Path: |
35 |
/usr/share/fonts/terminus_hp3-170310/,/usr/share/fonts/misc/,built-ins |
36 |
|
37 |
|
38 |
The new fonts show up with `fc-list' |
39 |
|
40 |
OK, all seems to be working... |
41 |
|
42 |
Until I actually try to use them. |
43 |
|
44 |
xterm -fa ter-u14b_iso-8859-1.pcf |
45 |
(output wrapped for mail) |
46 |
|
47 |
Warning: Cannot convert string |
48 |
"-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-*" to type |
49 |
FontStruct |
50 |
|
51 |
Warning: Missing charsets in String to FontSet conversion |
52 |
|
53 |
It appears the xterm is trying to load a font from somewhere else even |
54 |
though I asked for `ter-u14b_iso-8859-1.pcf' |
55 |
|
56 |
I'm not at all sure where the -adobe-helvetica if being called. |
57 |
|
58 |
sudo grep -r 'adobe-helvetica' /usr/share/fonts |
59 |
<Nothing> |
60 |
|
61 |
However there are piles of fonts with `adobe' in the name: |
62 |
|
63 |
sudo grep -r adobe /usr/share/fonts|wc-l |
64 |
173 |
65 |
|
66 |
They appear to be mostly like this: |
67 |
|
68 |
/usr/share/fonts/corefonts/fonts.scale:verdanaz.ttf |
69 |
-microsoft-verdana-bold-i-normal--0-0-0-0-p-0-adobe-standard |
70 |
|
71 |
Thought it might be from .Xresoures but there are no fonts there with |
72 |
adobe in the name |
73 |
|
74 |
`grep adobe .Xresources' <nothing> |
75 |
|
76 |
Anybody here recognize what the problem might be? |
77 |
|
78 |
There are a few helvetica in the .. only one is english: |
79 |
|
80 |
/usr/share/fonts/misc/fonts.alias:variable \ |
81 |
-*-helvetica-bold-r-normal-*-*-120-*-*-*-*-iso8859-1 |
82 |
|
83 |
And two japanese helveticas |
84 |
|
85 |
So I can't even tell where that adobe font is coming from |