1 |
Le jeudi 04 juillet 2013 à 01:07 +0200, Michael Weber a écrit : |
2 |
> Hello, |
3 |
> |
4 |
> as Ondrej Grover pointed out on [1], the font.eclass installs font |
5 |
> files and indexes (font.dir, fonts.scale) into sub-dirs of |
6 |
> /usr/share/fonts/, e.g. /usr/share/fonts/terminus. |
7 |
> |
8 |
> These directories are naturally not in the fontpath of Xorg server, |
9 |
> and could not be used without adding these with xset fp+. |
10 |
> As said on the bug, the Xserver itself should be abled to find all |
11 |
> fonts, and it's not the duty of the xinitrc/window-manager to collect |
12 |
> all these paths in the users process. |
13 |
> |
14 |
> I'd like to propose a patch to font.eclass to add the newly created |
15 |
> paths to the Xorg server configuration via xorg.conf.d files [2]. |
16 |
> I contacted fonts alias and, as mentioned on the bug and irc, Ben de |
17 |
> Groot (yngwin) does not object and says that font team lead Peter |
18 |
> Volkov (pva) is non-active. |
19 |
> |
20 |
> Please review for technical problems (esp. for EPREFIX). |
21 |
> |
22 |
> Open questions: |
23 |
> |
24 |
> - Should the (current) default xorg server paths |
25 |
> /usr/share/fonts/{75dpi,100dpi,misc,TTF,OTF,TYPE1} really be excluded? |
26 |
> How would the startup and font lookup perfomance degrade with |
27 |
> multiple conf.d files, containing the same path multiple times? |
28 |
> |
29 |
> - How would already installed font packages see this fix? |
30 |
> Revbump (and stabilize) every one of them? |
31 |
> |
32 |
> - Alternative solutions would be installing fonts in xorg-servers |
33 |
> default paths or add one configuration file that gets newly |
34 |
> assembled on every font_pkg_postinst run. |
35 |
|
36 |
Imho, this should be handled in pkg_postinst generating one Xorg |
37 |
configuration file at the end of the install, very much like |
38 |
fdo .desktop or mime cache file. |
39 |
|
40 |
This solves most of the point raised since any font bump would generate |
41 |
the file for all fonts. |
42 |
|
43 |
Also, not sure it is related but, maybe this could be linked to |
44 |
configuration set by eselect fontconfig in some way ? |
45 |
|
46 |
-- |
47 |
Gilles Dartiguelongue <eva@g.o> |
48 |
Gentoo |