Bug 30962

Summary: Не работает с fontconfig
Product: Branch p7 Reporter: Anton V. Boyarshinov <boyarsh>
Component: ghostscriptAssignee: Andrey Cherepanov <cas>
Status: CLOSED NOTABUG QA Contact: qa-p7 <qa-p7>
Severity: major    
Priority: P3 CC: a.o.liakh, boyarsh, george
Version: не указана   
Hardware: all   
OS: Linux   

Description Anton V. Boyarshinov 2015-04-24 14:28:40 MSK
Собран с fontconfig но, почему-то не использует его
фрагмент strace на сизифе:
--------------------
open("/usr/share/fonts/default/NimbusMonL-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/fonts/type1/NimbusMonL-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/fonts/type1/urw/NimbusMonL-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/fonts/NimbusMonL-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/ghostscript/conf.d/NimbusMonL-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/fonts/fonts.conf", O_RDONLY|O_CLOEXEC) = 9
open("/etc/fonts/conf.d/10-antialias.conf", O_RDONLY|O_CLOEXEC) = 11
open("/etc/fonts/conf.d/10-hinting.conf", O_RDONLY|O_CLOEXEC) = 11
open("/etc/fonts/conf.d/10-style-full.conf", O_RDONLY|O_CLOEXEC) = 11
----------------------------


фрагмент strace на p7
-----------------------------
open("/usr/share/ghostscript/9.07/lib/NimbusMonL-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/ghostscript/9.07/Resource/Font/NimbusMonL-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/ghostscript/fonts/NimbusMonL-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/fonts/default/NimbusMonL-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/fonts/type1/NimbusMonL-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/fonts/type1/urw/NimbusMonL-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/fonts/NimbusMonL-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/ghostscript/conf.d/NimbusMonL-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
open("NimbusMonL-Regu", O_RDONLY)       = -1 ENOENT (No such file or directory)
+++ exited with 1 +++
-----------------

Шрифт Courier не находится и привет...
Comment 1 Anton V. Boyarshinov 2015-04-24 14:37:39 MSK
Оказалось, что проблема где-то не в этом.. Он смотрит в fontconfig, но не находит там нужного, а потом ещё раз смотрит в свой Fonts...
В общем, буду пока сам копать...
Comment 2 Anton V. Boyarshinov 2015-04-24 14:51:01 MSK
Удаление пакета fontconfig-infinality решило проблему
Нет слов
Comment 3 Andrey Liakhovets 2016-08-24 21:27:31 MSK
https://bugzilla.altlinux.org/show_bug.cgi?id=32427
(запрещены Type 1 в /etc/fonts/infinality/infinality.conf).