xterm não pode carregar a fonte “-misc-fixed-medium-r-semicondensed - 13-120-75-75-c-60-iso10646-1”

2

Estou ficando abaixo do erro ao usar o xterm no RHEL 7.2:

xterm: não é possível carregar a fonte -misc-fixed-media-r-semicondensed - 13-120-75-75-c-60-iso10646-1

    
por dcds 29.11.2017 / 12:09

2 respostas

1

Com Redhat7 (ou CentOS7), você precisa apenas de dois pacotes para bitmap-fonts com xterm. Um pacote ( xorg-x11-fonts-misc ) abrange todos, exceto um caso especial para os menus. Outros sistemas usarão nomes de pacotes diferentes (e dividirão as fontes de maneiras diferentes).

Aqui está uma listagem de um script que eu escrevi para verificar se as fontes necessárias para o xterm estão instaladas:

# opening /usr/share/X11/app-defaults/XTerm
    *SimpleMenu*menuLabel.font: -adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-*
    *VT100.font1:       nil2
    *VT100.font2:       5x7
    *VT100.font3:       6x10
    *VT100.font4:       7x13
    *VT100.font5:       9x15
    *VT100.font6:       10x20
    *VT100.utf8Fonts.font2: -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1
    *VT100.utf8Fonts.font:  -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
    *VT100.utf8Fonts.font3: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1
    *VT100.utf8Fonts.font4: -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1
    *VT100.utf8Fonts.font5: -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
    *VT100.utf8Fonts.font6: -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1
    *tek4014*font2: 8x13
    *tek4014*font3: 6x13
# opening /usr/share/X11/app-defaults/UXTerm
    *VT100.font2:   -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1
    *VT100.font:    -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
    *VT100.font3:   -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1
    *VT100.font4:   -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1
    *VT100.font5:   -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
    *VT100.font6:   -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1
# opening /usr/share/X11/app-defaults/KOI8RXTerm
    *VT100.font:    -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-koi8-r
    *VT100.font2:   -misc-fixed-medium-r-normal--8-80-75-75-c-50-koi8-r
    *VT100.font3:   -misc-fixed-medium-r-normal--14-130-75-75-c-70-koi8-r
    *VT100.font4:   -misc-fixed-medium-r-normal--13-120-75-75-c-80-koi8-r
    *VT100.font5:   -misc-fixed-medium-r-normal--18-120-100-100-c-90-koi8-r
    *VT100.font6:   -misc-fixed-medium-r-normal--20-200-75-75-c-100-koi8-r

Font-files used:
    /usr/share/X11/fonts/100dpi/helvB12-ISO8859-15.pcf.gz
    -> XTerm*SimpleMenu*menuLabel.font
    /usr/share/X11/fonts/misc/10x20-ISO8859-1.pcf.gz
    -> XTerm*VT100.font6
    /usr/share/X11/fonts/misc/10x20-KOI8-R.pcf.gz
    -> KOI8RXTerm*VT100.font6
    /usr/share/X11/fonts/misc/10x20.pcf.gz
    -> UXTerm*VT100.font6
    -> XTerm*VT100.utf8Fonts.font6
    /usr/share/X11/fonts/misc/5x7-ISO8859-1.pcf.gz
    -> XTerm*VT100.font2
    /usr/share/X11/fonts/misc/5x8-KOI8-R.pcf.gz
    -> KOI8RXTerm*VT100.font2
    /usr/share/X11/fonts/misc/5x8.pcf.gz
    -> UXTerm*VT100.font2
    -> XTerm*VT100.utf8Fonts.font2
    /usr/share/X11/fonts/misc/6x10-ISO8859-1.pcf.gz
    -> XTerm*VT100.font3
    /usr/share/X11/fonts/misc/6x13-ISO8859-1.pcf.gz
    -> XTerm*tek4014*font3
    /usr/share/X11/fonts/misc/6x13-KOI8-R.pcf.gz
    -> KOI8RXTerm*VT100.font
    /usr/share/X11/fonts/misc/6x13.pcf.gz
    -> UXTerm*VT100.font
    -> XTerm*VT100.utf8Fonts.font
    /usr/share/X11/fonts/misc/7x13-ISO8859-1.pcf.gz
    -> XTerm*VT100.font4
    /usr/share/X11/fonts/misc/7x14-KOI8-R.pcf.gz
    -> KOI8RXTerm*VT100.font3
    /usr/share/X11/fonts/misc/7x14.pcf.gz
    -> UXTerm*VT100.font3
    -> XTerm*VT100.utf8Fonts.font3
    /usr/share/X11/fonts/misc/8x13-ISO8859-1.pcf.gz
    -> XTerm*tek4014*font2
    /usr/share/X11/fonts/misc/8x13-KOI8-R.pcf.gz
    -> KOI8RXTerm*VT100.font4
    /usr/share/X11/fonts/misc/8x13.pcf.gz
    -> UXTerm*VT100.font4
    -> XTerm*VT100.utf8Fonts.font4
    /usr/share/X11/fonts/misc/9x15-ISO8859-1.pcf.gz
    -> XTerm*VT100.font5
    /usr/share/X11/fonts/misc/9x18-KOI8-R.pcf.gz
    -> KOI8RXTerm*VT100.font5
    /usr/share/X11/fonts/misc/9x18.pcf.gz
    -> UXTerm*VT100.font5
    -> XTerm*VT100.utf8Fonts.font5
    /usr/share/X11/fonts/misc/nil2.pcf.gz
    -> XTerm*VT100.font1

No font-files missing

Packages providing font-files:

xorg-x11-fonts-ISO8859-15-100dpi-7.5-9.el7.noarch
    /usr/share/X11/fonts/100dpi/helvB12-ISO8859-15.pcf.gz
xorg-x11-fonts-misc-7.5-9.el7.noarch
    /usr/share/X11/fonts/misc/10x20-ISO8859-1.pcf.gz
    /usr/share/X11/fonts/misc/10x20-KOI8-R.pcf.gz
    /usr/share/X11/fonts/misc/10x20.pcf.gz
    /usr/share/X11/fonts/misc/5x7-ISO8859-1.pcf.gz
    /usr/share/X11/fonts/misc/5x8-KOI8-R.pcf.gz
    /usr/share/X11/fonts/misc/5x8.pcf.gz
    /usr/share/X11/fonts/misc/6x10-ISO8859-1.pcf.gz
    /usr/share/X11/fonts/misc/6x13-ISO8859-1.pcf.gz
    /usr/share/X11/fonts/misc/6x13-KOI8-R.pcf.gz
    /usr/share/X11/fonts/misc/6x13.pcf.gz
    /usr/share/X11/fonts/misc/7x13-ISO8859-1.pcf.gz
    /usr/share/X11/fonts/misc/7x14-KOI8-R.pcf.gz
    /usr/share/X11/fonts/misc/7x14.pcf.gz
    /usr/share/X11/fonts/misc/8x13-ISO8859-1.pcf.gz
    /usr/share/X11/fonts/misc/8x13-KOI8-R.pcf.gz
    /usr/share/X11/fonts/misc/8x13.pcf.gz
    /usr/share/X11/fonts/misc/9x15-ISO8859-1.pcf.gz
    /usr/share/X11/fonts/misc/9x18-KOI8-R.pcf.gz
    /usr/share/X11/fonts/misc/9x18.pcf.gz
    /usr/share/X11/fonts/misc/nil2.pcf.gz
    
por 24.03.2018 / 22:07
0

Eu procurei fontes ausentes e descobri que as fontes xorg-x11 estão faltando. Então eu tentei instalar as fontes que faltavam por baixo do comando yum

# yum install xorg-x11-fonts*

E instalado abaixo das fontes:

# rpm -qa | grep -i xorg-x11-fonts
  • xorg-x11-fonts-75dpi-7.5-9.el7.noarch
    xorg-x11-fonts-ISO8859-14-75dpi-7.5-9.el7.noarch
    xorg-x11-fonts-ISO8859-15-75dpi-7.5-9.el7.noarch
    xorg-x11-fonts-cyrillic-7.5-9.el7.noarch
    xorg-x11-fonts-ISO8859-9-100dpi-7.5-9.el7.noarch
    xorg-x11-fonts-ISO8859-2-100dpi-7.5-9.el7.noarch
    xorg-x11-fonts-ISO8859-1-75dpi-7.5-9.el7.noarch
    xorg-x11-fonts-ISO8859-14-100dpi-7.5-9.el7.noarch
    xorg-x11-fonts-ISO8859-1-100dpi-7.5-9.el7.noarch
    xorg-x11-fonts-ethiopic-7.5-9.el7.noarch
    xorg-x11-fonts-100dpi-7.5-9.el7.noarch
    xorg-x11-fonts-ISO8859-2-75dpi-7.5-9.el7.noarch
    xorg-x11-fonts-misc-7.5-9.el7.noarch
    xorg-x11-fonts-Type1-7.5-9.el7.noarch
    xorg-x11-fonts-ISO8859-9-75dpi-7.5-9.el7.noarch

Depois de fazer isso, o xterm está funcionando bem para mim.

    
por 29.11.2017 / 12:09

Tags