Еще раз о шрифтах: проблемы, настройка, выбор и поболтать

mutank
Получается .config/fontconfig/fonts.conf как бы не при делах
Настроики применяются по порядку какая больше номер имеет та и главнее
Чуть выше уже писал
. 50-user.conf → применение настроек ~/.config/fontconfig/fonts.conf
51-local.conf→ применение настроек /etc/fonts/local.conf

последним применяется конфиг с большим номером
Скорее всего где то проглядели запрет на битмап шрифты
Но тогда по идеи и qt бы не рендерило, но я бы все таки просмотрел бы пользовательские настройки
[alex@alex-pc ~]$ grep bitmap /etc/fonts/fonts.conf
[alex@alex-pc ~]$ grep bitmap /etc/fonts/conf.d/*
/etc/fonts/conf.d/65-fonts-persian.conf:  Moreover, the bitmaps we have designed (well, they
/etc/fonts/conf.d/65-fonts-persian.conf: 		<edit name="embeddedbitmap">
/etc/fonts/conf.d/70-yes-bitmaps.conf:  <description>Accept bitmap fonts</description>
/etc/fonts/conf.d/70-yes-bitmaps.conf:<!-- Accept bitmap fonts -->
[alex@alex-pc ~]$ cat /etc/fonts/conf.d/65-fonts-persian.conf
...
         <match target="font">
		<test name="foundry">
			<string>farsiweb</string>
		</test>
		<edit name="autohint">
			<bool>false</bool>
		</edit>
		<edit name="hinting">
			<bool>false</bool>
		</edit>
 		<edit name="embeddedbitmap">
 			<bool>false</bool>
 		</edit>
	</match>
...
Если я правильно понимаю, то это влияет на какие-то персидские шрифты (зачем они мне вообще? :))
Где-то еще может быть запрет?
mutank
Где-то
В домашней папке гляньте.
tree -fai ~/ |grep -e fonts.conf -e fonts.conf.d -e fontconfig |grep -v cache    
Ох ёмаё! И это все учитывается в fontconfig?
[alex@alex-pc ~]$ tree -fai ~/ |grep -e fonts.conf -e fonts.conf.d -e fontconfig |grep -v cache
/home/alex/.config/fontconfig
/home/alex/.config/fontconfig/fonts.conf
/home/alex/.local/share/Steam/bin/panorama/etc/fonts/conf.d
/home/alex/.local/share/Steam/bin/panorama/etc/fonts/conf.d/20-aliases-default-win.conf
/home/alex/.local/share/Steam/bin/panorama/etc/fonts/conf.d/20-fix-cantarell.conf
/home/alex/.local/share/Steam/bin/panorama/etc/fonts/conf.d/21-aliases-wine-win7-inf.conf
/home/alex/.local/share/Steam/bin/panorama/etc/fonts/conf.d/30-non-latin-inf-win.conf
/home/alex/.local/share/Steam/bin/panorama/etc/fonts/conf.d/41-repl-os-win.conf
/home/alex/.local/share/Steam/bin/panorama/etc/fonts/conf.d/42-repl-global.conf
/home/alex/.local/share/Steam/bin/panorama/etc/fonts/conf.d/43-repl-tt-traced-bitmap.conf
/home/alex/.local/share/Steam/bin/panorama/etc/fonts/conf.d/44-repl-corrective.conf
/home/alex/.local/share/Steam/bin/panorama/etc/fonts/conf.d/50-base-rendering-win7-winxp.conf
/home/alex/.local/share/Steam/bin/panorama/etc/fonts/conf.d/60-group-non-tt-fonts.conf
/home/alex/.local/share/Steam/bin/panorama/etc/fonts/conf.d/60-group-tt-fonts.conf
/home/alex/.local/share/Steam/bin/panorama/etc/fonts/conf.d/61-group-non-tt-rendering-inf-7-xp-lin.conf
/home/alex/.local/share/Steam/bin/panorama/etc/fonts/conf.d/61-group-tt-rendering-inf-7-xp.conf
/home/alex/.local/share/Steam/bin/panorama/etc/fonts/conf.d/62-tt-monospace-rendering.conf
/home/alex/.local/share/Steam/bin/panorama/etc/fonts/conf.d/62-tt-traced-bitmap-rendering.conf
/home/alex/.local/share/Steam/bin/panorama/etc/fonts/conf.d/65-override.conf
/home/alex/.local/share/Steam/bin/panorama/etc/fonts/conf.d/70-forced-synthetic.conf
/home/alex/.local/share/Steam/bin/panorama/etc/fonts/conf.d/80-selective-rendering-inf-7-xp.conf
/home/alex/.local/share/Steam/bin/panorama/etc/fonts/conf.d/80-selective-rendering-inf-win-lin.conf
/home/alex/.local/share/Steam/bin/panorama/etc/fonts/conf.d/81-final-rendering-inf-7-xp.conf
/home/alex/.local/share/Steam/bin/panorama/etc/fonts/conf.d/90-no-synthetic.conf
/home/alex/.local/share/Steam/bin/panorama/etc/fonts/conf.d/90-reject.conf
/home/alex/.local/share/Steam/bin/panorama/etc/fonts/fonts.conf
/home/alex/.local/share/Steam/steamapps/common/ProjectZomboid/projectzomboid/jre/lib/fontconfig.bfc
/home/alex/.local/share/Steam/steamapps/common/ProjectZomboid/projectzomboid/jre/lib/fontconfig.properties.src
/home/alex/.local/share/Steam/steamapps/common/ProjectZomboid/projectzomboid/jre/lib/fontconfig.RedHat.5.bfc
/home/alex/.local/share/Steam/steamapps/common/ProjectZomboid/projectzomboid/jre/lib/fontconfig.RedHat.5.properties.src
/home/alex/.local/share/Steam/steamapps/common/ProjectZomboid/projectzomboid/jre/lib/fontconfig.RedHat.6.bfc
/home/alex/.local/share/Steam/steamapps/common/ProjectZomboid/projectzomboid/jre/lib/fontconfig.RedHat.6.properties.src
/home/alex/.local/share/Steam/steamapps/common/ProjectZomboid/projectzomboid/jre/lib/fontconfig.SuSE.10.bfc
/home/alex/.local/share/Steam/steamapps/common/ProjectZomboid/projectzomboid/jre/lib/fontconfig.SuSE.10.properties.src
/home/alex/.local/share/Steam/steamapps/common/ProjectZomboid/projectzomboid/jre/lib/fontconfig.SuSE.11.bfc
/home/alex/.local/share/Steam/steamapps/common/ProjectZomboid/projectzomboid/jre/lib/fontconfig.SuSE.11.properties.src
/home/alex/.local/share/Steam/steamapps/common/ProjectZomboid/projectzomboid/jre/lib/fontconfig.Turbo.bfc
/home/alex/.local/share/Steam/steamapps/common/ProjectZomboid/projectzomboid/jre/lib/fontconfig.Turbo.properties.src
/home/alex/.local/share/Steam/steamapps/common/ProjectZomboid/projectzomboid/jre64/lib/fontconfig.bfc
/home/alex/.local/share/Steam/steamapps/common/ProjectZomboid/projectzomboid/jre64/lib/fontconfig.properties.src
/home/alex/.local/share/Steam/steamapps/common/ProjectZomboid/projectzomboid/jre64/lib/fontconfig.RedHat.5.bfc
/home/alex/.local/share/Steam/steamapps/common/ProjectZomboid/projectzomboid/jre64/lib/fontconfig.RedHat.5.properties.src
/home/alex/.local/share/Steam/steamapps/common/ProjectZomboid/projectzomboid/jre64/lib/fontconfig.RedHat.6.bfc
/home/alex/.local/share/Steam/steamapps/common/ProjectZomboid/projectzomboid/jre64/lib/fontconfig.RedHat.6.properties.src
/home/alex/.local/share/Steam/steamapps/common/ProjectZomboid/projectzomboid/jre64/lib/fontconfig.SuSE.10.bfc
/home/alex/.local/share/Steam/steamapps/common/ProjectZomboid/projectzomboid/jre64/lib/fontconfig.SuSE.10.properties.src
/home/alex/.local/share/Steam/steamapps/common/ProjectZomboid/projectzomboid/jre64/lib/fontconfig.SuSE.11.bfc
/home/alex/.local/share/Steam/steamapps/common/ProjectZomboid/projectzomboid/jre64/lib/fontconfig.SuSE.11.properties.src
/home/alex/.local/share/Steam/steamapps/common/ProjectZomboid/projectzomboid/jre64/lib/fontconfig.Turbo.bfc
/home/alex/.local/share/Steam/steamapps/common/ProjectZomboid/projectzomboid/jre64/lib/fontconfig.Turbo.properties.src
Глянул в первом попавшемся .local/share/Steam/bin/panorama/etc/fonts/fonts.conf - запрет есть
mutank
все учитывается
По идеи не должно, если переменная HOME не переопределена

Configuration files and directories: ~/.fonts.conf/, ~/.fonts.conf.d/ and ~/.fontconfig/*.cache-* are deprecated since fontconfig 2.10.1 (upstream commit) and will not be read by default in the future versions of the package. New paths are $XDG_CONFIG_HOME/fontconfig/fonts.conf, $XDG_CONFIG_HOME/fontconfig/conf.d/NN-name.conf and $XDG_CACHE_HOME/fontconfig/*.cache-* respectively. If using the second location, make sure the naming is valid (where NN is a two digit number like 00, 10, or 99).

Можно проверить на всякий
echo  $XDG_CONFIG_HOME
echo   $XDG_CACHE_HOME

Может не конфиг роль сыграл а пересоздание кеша(fc-cache) ? Можно попробовать убрать /etc/fonts/local.conf
Но я всегда настраиваю в /etc/fonts/local.conf а не в домашнем
[alex@alex-pc ~]$ echo $HOME
/home/alex
[alex@alex-pc ~]$ echo $XDG_CONFIG_HOME
/home/alex/.config
[alex@alex-pc ~]$ echo $XDG_CACHE_HOME
/home/alex/.cache
O fc-cache знаю и выполняю после каждой манипуляции со шрифтом/настройками.
Без /etc/fonts/local.conf не работает, проверил.
Может вы у себя попробуйте без /etc/fonts/local.conf ?
mutank
попробуйте
Вечером уже
mutank
вы у себя попробуйте
Кажется разобрался

Оказывается
mutank
Получается .config/fontconfig/fonts.conf как бы не при делах

как раз и при делах извините что направил не туда

У вас в конфиге было
mutank
hinting: False(w)

<match target="font">
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
</match>

Что дает в гтк размытие из за которого шрифт просто не виден

Исправьте на

  <match target="font">
    <edit name="hinting" mode="assign">
      <bool>true</bool>
    </edit>
  </match>

в lxqt-config галку на font hinting

должно работать
Работает! Без etc/fonts/local.conf и без embeddedbitmap, но помимо hinting, нужно еще hintstyle задать. Наконец-то разобрались! Спасибо
redix
Разработчики стека шрифтов Linux отказались от поддержки мягкого сглаживания
Еще ссылку на гит оставлю, похоже опять подбирать настройки а то и тулкит

https://github.com/harfbuzz/harfbuzz/issues/2394

Глянул версию local/pango 1:1.44.7+11+g73b46b04-1 с моими верданой и дежавю все в порядке пока с полным хинтингом
 
Зарегистрироваться или войдите чтобы оставить сообщение.