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

mutank
пытаюсь заставить работать terminus-font-otd, a terminus-font удален из системы.
Гтк видет шрифт, но отображает его "пробелами". Если бы не видел, то использовал дефолтны
Скорее всего неправильно где то прописан
Проверьте что стоит otd
pacman -Qs terminus
поставьте lxappearance и выберите в нем Terminus Medium 14 должен отображаться терминус если хотите нажмите применить (пропишутся правильные настройки)
Все то же самое как у вас
[[email protected] ~]$ yay -Qs terminus
local/terminus-font-otb 4.48-1
    Monospace bitmap font (OTB version)
[[email protected] ~]$ fc-match Terminus
ter-u16n.otb: "Terminus" "Medium"
[[email protected] ~]$ yay -Qll terminus-font-otb
terminus-font-otb /usr/
terminus-font-otb /usr/share/
terminus-font-otb /usr/share/fonts/
terminus-font-otb /usr/share/fonts/misc/
terminus-font-otb /usr/share/fonts/misc/ter-u12b.otb
terminus-font-otb /usr/share/fonts/misc/ter-u12n.otb
terminus-font-otb /usr/share/fonts/misc/ter-u14b.otb
terminus-font-otb /usr/share/fonts/misc/ter-u14n.otb
terminus-font-otb /usr/share/fonts/misc/ter-u14v.otb
terminus-font-otb /usr/share/fonts/misc/ter-u16b.otb
terminus-font-otb /usr/share/fonts/misc/ter-u16n.otb
terminus-font-otb /usr/share/fonts/misc/ter-u16v.otb
terminus-font-otb /usr/share/fonts/misc/ter-u18b.otb
terminus-font-otb /usr/share/fonts/misc/ter-u18n.otb
terminus-font-otb /usr/share/fonts/misc/ter-u20b.otb
terminus-font-otb /usr/share/fonts/misc/ter-u20n.otb
terminus-font-otb /usr/share/fonts/misc/ter-u22b.otb
terminus-font-otb /usr/share/fonts/misc/ter-u22n.otb
terminus-font-otb /usr/share/fonts/misc/ter-u24b.otb
terminus-font-otb /usr/share/fonts/misc/ter-u24n.otb
terminus-font-otb /usr/share/fonts/misc/ter-u28b.otb
terminus-font-otb /usr/share/fonts/misc/ter-u28n.otb
terminus-font-otb /usr/share/fonts/misc/ter-u32b.otb
terminus-font-otb /usr/share/fonts/misc/ter-u32n.otb
terminus-font-otb /usr/share/licenses/
terminus-font-otb /usr/share/licenses/terminus-font-otb/
terminus-font-otb /usr/share/licenses/terminus-font-otb/LICENSE
lxappearence

Текст из превьюшки можно выделить и скопировать :)
Другие otb шрифты тоже не работают.. Система обновлена
В qt все норм:
mutank
не работают
Покажите еще версии панго и гтк и фонтконфига
pacman -Qs pango
pacman -Qs gtk3|grep gtk3
pacman -Qs fontconfig
pacman -Qs freetype
pacman -Qs cairo
pacman -Qs harfbuzz
может что не стандартное

И какое DE мож его настройки
fc-match terminus
???
Мой вывод - ter-x12n.pcf.gz: "xos4 Terminus" "Regular"
Ошибки не исчезают с опытом - они просто умнеют
vasek
fc-match terminus
???
Он давал вывод
fc-match Terminus
ter-u16n.otb: "Terminus" "Medium"
И он нормальный для пакета terminus-font-otb (размер только большой)
Ваш ter-x12n.pcf.gz это пакет terminus-font панго (гтк)по идеи его рендерить не должен

Для сравнения может и покажет что
fc-match --verbose terminus
Pattern has 40 elts (size 48)
	family: "Terminus"(s)
	familylang: "en"(s)
	style: "Medium"(s)
	stylelang: "en"(s)
	fullname: "Terminus Medium"(s)
	fullnamelang: "en"(s)
	slant: 0(i)(s)
	weight: 100(f)(s)
	width: 100(f)(s)
	size: 12(f)(s)
	pixelsize: 12(f)(s)
	spacing: 110(i)(w)
	foundry: "PfEd"(w)
	antialias: True(w)
	hintstyle: 3(i)(w)
	hinting: True(w)
	verticallayout: False(s)
	autohint: False(w)
	globaladvance: True(s)
	file: "/usr/share/fonts/misc/ter-u12n.otb"(w)
	index: 0(i)(w)
	outline: False(w)
	scalable: False(w)
	dpi: 75(f)(s)
	rgba: 1(i)(w)
	scale: 1(f)(s)
	charset:
	0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
	0001: ffffffff ffffffff ffffffff ffffffff 6005c040 00e00000 001fe000 f031fffc
	0002: 0f000000 008c0000 0b100000 00040000 00040000 38000000 3b0000c0 00000000
	0003: 00001dff 00000200 00000000 00000000 ffffd7f0 fffffffb 00227fff 007f0000
	0004: ffffffff ffffffff ffffffff 00000c0c 3fff0000 0fcfcc3f ffff8007 033ffffc
	0005: 00000000 00000000 00000000 00000000 00000000 00000000 ffff0000 000007ff
	001e: 00003000 00f00000 000000ff 00003000 00000000 33000000 00003c00 03000030
	0020: ffffffff 560d0047 00000000 fff30000 05ff7fff 00005480 00000000 00000000
	0021: 2460c004 00200054 00000000 00000000 003f0000 08200150 003f1800 00000000
	0022: c67c3ff9 000007a0 00000100 00000c33 000000cc 00000020 0000000c 00000000
	0023: 02010f05 00000003 00000000 00000000 f8000000 3c00fbff 00010000 00000000
	0024: 00003e00 00000010 00000000 00000000 00000000 00000000 00000000 00000000
	0025: ffffff0f ffffffff ffff0fff ffffffff ffcfffff 14445001 03008c51 00000000
	0026: 00000000 1c000000 00000005 00000c69 00000000 00000000 00000000 00000000
	0027: 01980000 00000000 00000000 00000000 00000000 00000000 00000000 00000f00
	0028: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
	002e: 00000000 00001000 00000000 00000000 00000000 00000000 00000000 00000000
	00e0: 00000000 00000000 00000000 00000000 00000000 000f0007 00000000 00000000
	00f6: 00000000 00000000 00000000 00000000 00000000 40000000 00000000 00000000
	00ff: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 20000000
(w)
	lang: aa|af|av|ay|az-az|ba|bm|be|bg|bi|bin|br|bs|bua|ca|ce|ch|chm|co|cs|cv|da|de|el|en|eo|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gn|gv|haw|he|ho|hr|hu|ia|ig|id|ie|ik|io|is|it|kaa|ki|kk|kl|kum|kv|kw|ky|la|lb|lez|ln|lt|lv|mg|mh|mi|mk|mo|mt|nb|nds|nl|nn|no|nr|nso|ny|oc|om|os|pl|pt|rm|ro|ru|sah|se|sel|sh|sk|sl|sm|sma|smj|smn|sms|so|sq|sr|ss|st|sv|sw|tg|tk|tl|tn|to|tr|ts|tt|tw|tyv|uk|uz|vo|vot|wa|wen|wo|xh|yap|yi|zu|ak|an|crh|csb|fat|fil|hsb|ht|jv|kj|ku-tr|kwm|lg|li|mn-mn|ms|na|ng|nv|pap-an|pap-aw|rn|rw|sc|sg|sn|su|ty|za(s)
	fontversion: 65536(i)(s)
	fontformat: "TrueType"(w)
	embeddedbitmap: True(s)
	decorative: False(s)
	lcdfilter: 1(i)(w)
	namelang: "ru"(s)
	prgname: "fc-match"(s)
	postscriptname: "TerminusMedium"(w)
	color: False(w)
	symbol: False(s)
	variable: False(s)
	fonthashint: False(w)

DE - LXQt
[[email protected] ~]$ pacman -Qs pango
local/lib32-pango 1:1.44.7-1
    A library for layout and rendering of text (32-bit)
local/pango 1:1.44.7-1
    A library for layout and rendering of text
local/pangomm 2.42.0-1
    C++ bindings for Pango
[[email protected] ~]$ pacman -Qs gtk3 | grep gtk3
local/gtk3 1:3.24.13-1
local/openbox 3.6.1-6 (lxde lxde-gtk3 lxqt)
    Common libraries and headers for wxgtk2 and wxgtk3
[[email protected] ~]$ pacman -Qs fontconfig
local/fontconfig 2:2.13.1+12+g5f5ec56-1
    A library for configuring and customizing font access
local/lib32-fontconfig 2:2.13.1+12+g5f5ec56-1
    A library for configuring and customizing font access (32-bit)
[[email protected] ~]$ pacman -Qs freetype
local/freetype2 2.10.1-1
    Font rasterization library
local/lib32-freetype2 2.10.1-1
    TrueType font rendering library (32-bit)
local/lib32-libxft 2.3.3-1
    FreeType-based font drawing library for X (32-bit)
local/libxft 2.3.3-1
    FreeType-based font drawing library for X
[[email protected] ~]$ pacman -Qs cairo
local/cairo 1.17.2+17+g52a7c79fd-2
    2D graphics library with support for multiple output devices
local/cairomm 1.12.2-3
    C++ bindings for Cairo
local/lib32-cairo 1.17.2+17+g52a7c79fd-2
    2D graphics library with support for multiple output devices (32-bit)
local/pixman 0.38.4-1
    The pixel-manipulation library for X and cairo
local/python-cairo 1.18.2-3
    Python bindings for the cairo graphics library
local/python2-cairo 1.18.2-3
    Python2 bindings for the cairo graphics library
[[email protected] ~]$ pacman -Qs harfbuzz
local/harfbuzz 2.6.4-2
    OpenType text shaping engine
local/harfbuzz-icu 2.6.4-2
    OpenType text shaping engine (ICU integration)
local/lib32-harfbuzz 2.6.4-2
    OpenType text shaping engine (32-bit)
А здесь вывод немного странный
[[email protected] ~]$ fc-match --verbose terminus
[b]Pattern has 39 elts (size 48)[/b]
	family: "Terminus"(s)
	familylang: "en"(s)
	style: "Medium"(s)
	stylelang: "en"(s)
	fullname: "Terminus Medium"(s)
	fullnamelang: "en"(s)
	slant: 0(i)(s)
	weight: 100(f)(s)
	width: 100(f)(s)
	[b]size: 12(f)(s)[/b]
	[b]pixelsize: 16(f)(s)[/b]
	spacing: 110(i)(w)
	foundry: "PfEd"(w)
	antialias: True(w)
	hintstyle: 3(i)(w)
	hinting: False(w)
	verticallayout: False(s)
	autohint: False(w)
	globaladvance: True(s)
	[b]file: "/usr/share/fonts/misc/ter-u16n.otb"(w)[/b]
	index: 0(i)(w)
	outline: False(w)
	scalable: False(w)
	dpi: 96(f)(s)
	rgba: 1(i)(w)
	scale: 1(f)(s)
	charset:
	0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
	0001: ffffffff ffffffff ffffffff ffffffff 6005c040 00e00000 001fe000 f031fffc
	0002: 0f000000 008c0000 0b100000 00040000 00040000 38000000 3b0000c0 00000000
	0003: 00001dff 00000200 00000000 00000000 ffffd7f0 fffffffb 00227fff 007f0000
	0004: ffffffff ffffffff ffffffff 00000c0c 3fff0000 0fcfcc3f ffff8007 033ffffc
	0005: 00000000 00000000 00000000 00000000 00000000 00000000 ffff0000 000007ff
	001e: 00003000 00f00000 000000ff 00003000 00000000 33000000 00003c00 03000030
	0020: ffffffff 560d0047 00000000 fff30000 05ff7fff 00005480 00000000 00000000
	0021: 2460c004 00200054 00000000 00000000 003f0000 08200150 003f1800 00000000
	0022: c67c3ff9 000007a0 00000100 00000c33 000000cc 00000020 0000000c 00000000
	0023: 02010f05 00000003 00000000 00000000 f8000000 3c00fbff 00010000 00000000
	0024: 00003e00 00000010 00000000 00000000 00000000 00000000 00000000 00000000
	0025: ffffff0f ffffffff ffff0fff ffffffff ffcfffff 14445001 03008c51 00000000
	0026: 00000000 1c000000 00000005 00000c69 00000000 00000000 00000000 00000000
	0027: 01980000 00000000 00000000 00000000 00000000 00000000 00000000 00000f00
	0028: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
	002e: 00000000 00001000 00000000 00000000 00000000 00000000 00000000 00000000
	00e0: 00000000 00000000 00000000 00000000 00000000 000f0007 00000000 00000000
	00f6: 00000000 00000000 00000000 00000000 00000000 40000000 00000000 00000000
	00ff: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 20000000
(w)
	lang: aa|af|av|ay|az-az|ba|bm|be|bg|bi|bin|br|bs|bua|ca|ce|ch|chm|co|cs|cv|da|de|el|en|eo|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gn|gv|haw|he|ho|hr|hu|ia|ig|id|ie|ik|io|is|it|kaa|ki|kk|kl|kum|kv|kw|ky|la|lb|lez|ln|lt|lv|mg|mh|mi|mk|mo|mt|nb|nds|nl|nn|no|nr|nso|ny|oc|om|os|pl|pt|rm|ro|ru|sah|se|sel|sh|sk|sl|sm|sma|smj|smn|sms|so|sq|sr|ss|st|sv|sw|tg|tk|tl|tn|to|tr|ts|tt|tw|tyv|uk|uz|vo|vot|wa|wen|wo|xh|yap|yi|zu|ak|an|crh|csb|fat|fil|hsb|ht|jv|kj|ku-tr|kwm|lg|li|mn-mn|ms|na|ng|nv|pap-an|pap-aw|rn|rw|sc|sg|sn|su|ty|za(s)
	fontversion: 65536(i)(s)
	fontformat: "TrueType"(w)
	embeddedbitmap: True(w)
	decorative: False(s)
	lcdfilter: 1(i)(w)
	namelang: "en"(s)
	prgname: "fc-match"(s)
	postscriptname: "TerminusMedium"(w)
	color: False(w)
	symbol: False(s)
	variable: False(s)
mutank
local/fontconfig 2:2.13.1+12+g5f5ec56-1
Чего такой старый? 2:2.13.91+24+g75eadca-2 на дворе
[[email protected] ~]$ sudo pacman -S fontconfig
[sudo] password for alex:
warning: fontconfig-2:2.13.1+12+g5f5ec56-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) fontconfig-2:2.13.1+12+g5f5ec56-1

Total Installed Size:  2.05 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n]
У меня Manjaro если что :-[
mutank
is up to date
Попробовал откатить fontconfig все равно работает, так что вряд ли в нем дело
Проверьте еще кеш без ошибок создается?
fc-cache
#и
sudo  fc-cache

если запустить lxappearance в терминале ни на что не ругается если терминус выбрать?

И попробуйте создать /etc/fonts/local.conf он должен перебивать пользовательские настройки
cat /etc/fonts/local.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Настройки отображения -->
  <match target="font">
       <edit name="antialias" mode="assign">
           <bool>true</bool>
       </edit>
       <edit name="autohint" mode="assign">
           <bool>false</bool>
       </edit>
     <edit name="embeddedbitmap" mode="assign">
          <bool>true</bool>
  </edit>
       <edit name="hinting" mode="assign">
           <bool>true</bool>
       </edit>
       <edit name="hintstyle" mode="assign">
<!--hintslight - для более "полных" шрифтов, hintfull - для более тонких -->
           <const>hintfull</const>
       </edit>
       <edit name="lcdfilter" mode="assign">
           <const>lcddefault</const>
       </edit>
       <edit name="rgba" mode="assign">
           <const>rgb</const>
       </edit>
<!--Отключение хинтинга для Bold шрифтов
	   <test name="weight" compare="more">
        <const>medium</const>
    </test>
    <edit name="autohint" mode="assign">
        <bool>false</bool>
    </edit>-->
</match>
 <match target="pattern">
   <test qual="any" name="family"><string>Georgia</string></test>
   <edit name="family" mode="assign" binding="same"><string>Verdana</string></edit>
 </match>
   <match target="pattern">
   <test qual="any" name="family"><string>Lato</string></test>
   <edit name="family" mode="assign" binding="same"><string>Verdana</string></edit>
 </match>
   <match target="pattern">
   <test qual="any" name="family"><string>YS Text</string></test>
   <edit name="family" mode="assign" binding="same"><string>Verdana</string></edit>
 </match>

 <alias>
    <family>Lato</family>
    <prefer><family>Verdana</family></prefer>
</alias>
 <alias>
    <family>YS Text</family>
    <prefer><family>Verdana</family></prefer>
</alias>
</fontconfig>
Урааа! С вашим /etc/fonts/local.conf заработало!
vs220, огромное спасибо за помощь!
Получается .config/fontconfig/fonts.conf как бы не при делах...
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- created by lxqt-config-appearance (DO NOT EDIT!) -->
<fontconfig>
  <include ignore_missing="yes">conf.d</include>
  <match target="font">
    <edit name="antialias" mode="assign">
      <bool>true</bool>
    </edit>
  </match>
  <match target="font">
    <edit name="embeddedbitmap" mode="assign">
        <bool>true</bool>
    </edit>
  </match>
  <match target="font">
    <edit name="rgba" mode="assign">
      <const>rgb</const>
    </edit>
  </match>
  <match target="font">
    <edit name="lcdfilter" mode="assign">
      <const>lcddefault</const>
    </edit>
  </match>
  <match target="font">
    <edit name="hinting" mode="assign">
      <bool>false</bool>
    </edit>
  </match>
  <match target="font">
    <edit name="hintstyle" mode="assign">
      <const>hintfull</const>
    </edit>
  </match>
  <match target="font">
    <edit name="autohint" mode="assign">
      <bool>false</bool>
    </edit>
  </match>
  <match target="pattern">
    <edit name="dpi" mode="assign">
      <double>96</double>
    </edit>
  </match>
</fontconfig>
 
Зарегистрироваться или войдите чтобы оставить сообщение.