Bug 30962 - Не работает с fontconfig
Summary: Не работает с fontconfig
Status: CLOSED NOTABUG
Alias: None
Product: Branch p7
Classification: Distributions
Component: ghostscript (show other bugs)
Version: не указана
Hardware: all Linux
: P3 major
Assignee: Andrey Cherepanov
QA Contact: qa-p7@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-24 14:28 MSK by Anton V. Boyarshinov
Modified: 2016-08-24 21:27 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).