Gentoo Archives: gentoo-user

From: james <garftd@×××××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] cant add fonts
Date: Sun, 12 Jul 2020 01:45:07
Message-Id: 80c70c55-e300-a2c8-2ad6-8fb396173035@verizon.net
1 This is weird.
2
3 background;
4 So I've installed media-fonts/courier-prime:
5
6 Installing (1 of 1) media-libs/fontconfig-2.13.1-r2::gentoo
7 * Syncing fontconfig configuration to system ...
8 [ ok ]
9 * Cleaning broken symlinks in /etc/fonts/conf.d/
10 * abi_x86_32.x86: running multilib_pkg_postinst
11 * Creating global font cache for x86 ...
12 Fontconfig error: Cannot scan config file "infinality/conf.d"
13 [ ok ]
14 * abi_x86_64.amd64: running multilib_pkg_postinst
15 * Creating global font cache for amd64 ...
16
17
18 The dir '/etc/fonts/infinality' contains these files:
19
20 conf.src infinality.conf styles.conf.avail
21
22 so I ran 'eselect fontconfig enable 28'
23 to enable the '52-infinality.conf *'
24
25
26 But I still get:
27
28 can't load font *-courier-medium-r-*-18-*
29
30
31 When I try to run 'vi testtest' as user or root
32 I get this error:
33 can't load font *-courier-medium-r-*-18-*
34
35 'vim testtest' works fine.
36
37 'eselect fontconfig list' shows:
38 a list of 60, including
39 [28] 52-infinality.conf
40 but it is not 'enabled'
41 (perhaps a command I missing or tool option
42 just to merely enable (52-infinality.conf) ?
43
44
45 "but nothing related to courier-prime
46
47 So how do I get the courier fonts 'to be included'?
48
49
50 Then what are the steps to have it available. I've probably missed a
51 simple gentoo manual/wiki page describing what is usually a very easy
52 graphics tool ?
53
54 James