Gentoo Archives: gentoo-user

From: Ian Zimmerman <itz@××××××××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: xosview fails to launch with missing font 7x13bold
Date: Tue, 26 Dec 2017 02:31:04
Message-Id: 20171226023046.2le75pom6ll3jxrv@matica.foolinux.mooo.com
In Reply to: [gentoo-user] xosview fails to launch with missing font 7x13bold by Jack
1 On 2017-12-23 18:09, Jack wrote:
2
3 > After a reboot today, to switch to 4.14.8-r1, x11-misc/xosview-1.19 (installed last
4 > March) fails to launch with "xosview: display :0 cannot load font 7x13bold"
5 >
6 > 7x13bold is from media-fonts/font-misc-misc - I have 1.1.2-r1 installed 12/16. I
7 > can't tell what changed in the font file, as packages.gentoo.org has hardware
8 > problems, and fails on any search attempt. font-misc-misc does include 7x13B, but I
9 > don't know for sure if that is a valid alias, or if something changed since the last
10 > version, 1.1.2, which was emerged in 2010!
11 >
12 > Before today, I haven't rebooted since 12/6, so my first guess is some problem with
13 > font-misc-misc. 7x13B is listed in both fonts.alias as
14 > -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1 and fonts.dir as
15 > -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso10646-1 in /usr/share/fonts/misc,
16 > which differ only in the iso number. The latter does show up in the output of
17 > xlsfonts, but not the former. Even stranger, fonts-alias is much older than
18 > everything else in that directory - from when I last emerged media-fonts/font-alias.
19 > Is this perhaps a bug in fonts-alias which needs to be updated to reflect changes in
20 > font naming in other packages? Reinstalling font-alias did not help.
21 >
22 > I then duplicated the line in fonts.alias, changing one of them to the other iso
23 > number. That didn't help without restarting X, but after a restart, xosview runs.
24 > (It now gives me a totally unrelated error - but I'll deal with that one later.)
25
26 I am looking at this now because portage wants to update these package
27 for me too and I don't want any mess.
28
29 So, I think you're mixing apples and oranges a bit: 7x13bold is a real
30 valid alias, but 7x13B is just the (base) name of the font files; it is
31 not surprising that the latter not accepted as a font name. The fonts.dir
32 file is the authoritative one for which "real" fonts (ie. not aliases)
33 exist on the system. The first column there is the font file name (ffn)
34 and the second column is the X font name contained in $ffn.
35
36 I still have the previous version of font-misc-misc, and in fonts.dir I
37 see entries both for iso10646-1 and for iso8859-$i where 1<=i<=16. Does
38 your version have the latter entries? I should quote this part of
39 fonts.dir verbatim:
40
41 7x13B-ISO8859-1.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1
42 7x13B-ISO8859-10.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-10
43 7x13B-ISO8859-11.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-11
44 7x13B-ISO8859-13.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-13
45 7x13B-ISO8859-14.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-14
46 7x13B-ISO8859-15.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-15
47 7x13B-ISO8859-16.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-16
48 7x13B-ISO8859-2.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-2
49 7x13B-ISO8859-3.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-3
50 7x13B-ISO8859-4.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-4
51 7x13B-ISO8859-5.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-5
52 7x13B-ISO8859-7.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-7
53 7x13B-ISO8859-8.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-8
54 7x13B-ISO8859-9.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-9
55 7x13B.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso10646-1
56
57 Does yours contain all these lines? And if it does, do the files (as
58 named in the 1st column) exist in /usr/share/fonts/misc/ ?
59
60 --
61 Please don't Cc: me privately on mailing lists and Usenet,
62 if you also post the followup to the list or newsgroup.
63 To reply privately _only_ on Usenet, fetch the TXT record for the domain.

Replies

Subject Author
[gentoo-user] Re: xosview fails to launch with missing font 7x13bold Ian Zimmerman <itz@××××××××××××.org>