Gentoo Archives: gentoo-user

From: Danny YUE <sheepduke@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Error with infinality font while emerging sane-backends
Date: Thu, 05 Apr 2018 06:48:26
Message-Id: 87woxm9mj7.fsf@gmail.com
In Reply to: Re: [gentoo-user] Error with infinality font while emerging sane-backends by Floyd Anderson
1 On 2018-03-28 14:55, Floyd Anderson <f.a@××××.net> wrote:
2 > On Wed, 28 Mar 2018 13:58:21 +0800
3 > Danny YUE <sheepduke@×××××.com> wrote:
4 >>
5 >>
6 >>Thanks for your quick reply :-)
7 >>
8 >>I created the symbolic link as you told,
9 >
10 > That solves the:
11 >
12 > Fontconfig error: failed reading config file
13 > Fontconfig error: Cannot load config file "infinality/conf.d"
14 >
15 > errors – they’re gone.
16 >
17 >>but it still does not
18 >>work...same error message.
19 >
20 > Now you have to solve the:
21 >
22 > Error: /invalidfont in /findfont
23 >
24 > Last OS error: No such file or directory
25 > GPL Ghostscript 9.21: Error: /invalidfont in /findfont
26 >
27 > errors. The culprit seems here the Type-1 font selection, see bug
28 > #620148 [1]. Commenting the mentioned section in:
29 >
30 > /etc/fonts/infinality/infinality.conf
31 >
32 > works here, bumping Ghostscript to version 9.23 doesn’t.
33 >
34 > Hope that helps. If not, you probably can temporarily rename:
35 >
36 > /usr/bin/fig2dev (package media-gfx/transfig)
37 >
38 > to hide it from the media-gfx/sane-backends build process, so it wont build
39 > the PDF documentation. Previously sane-backends-1.0.27 compiles fine without
40 > media-gfx/xfig and therefore media-gfx/transfig.
41 >
42 >
43 > Reference:
44 > [1] <https://bugs.gentoo.org/show_bug.cgi?id=620148>
45
46 Oops, I did not really see this email last week...my stupidity.
47
48 Thank you so much Floyd, you solved my problem perfectly.
49
50 After commenting out the section, the font problem never appeared any
51 more.
52
53 However the PDF file still refuses to build.
54 I knew the solution: disable parallel compilation feature.
55
56 After that it worked.
57
58 Thanks again!
59
60 Danny