AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • Início
  • system&network
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • Início
  • system&network
    • Recentes
    • Highest score
    • tags
  • Ubuntu
    • Recentes
    • Highest score
    • tags
  • Unix
    • Recentes
    • tags
  • DBA
    • Recentes
    • tags
  • Computer
    • Recentes
    • tags
  • Coding
    • Recentes
    • tags
Início / unix / Perguntas / 785444
Accepted
Kyle
Kyle
Asked: 2024-10-22 11:54:12 +0800 CST2024-10-22 11:54:12 +0800 CST 2024-10-22 11:54:12 +0800 CST

Onde as fontes padrão estão localizadas

  • 772

Estou executando o Xterm e preciso encontrar o diretório da fonte bitmap padrão (misc-fixed). Procurei em todos os lugares, mas ainda não consegui encontrá-lo. Alguma ideia?

Aqui está minha saída quando executo xterm -report-fonts:

Loaded VTFonts(default)
        fNorm: fixed
                all chars:     no
                default char:  0
                direction:     0
                ascent:        11
                descent:       2
                first char:    0
                last char:     255
                maximum-chars: 256
                missing-chars: 33
                present-chars: 223
                min_byte1:     0
                max_byte1:     0
                properties:    22
                min_bounds:
                        lbearing: 0
                        rbearing: 0
                        width:    6
                        ascent:   -1
                        descent:  -10
                max_bounds:
                        lbearing: 2
                        rbearing: 6
                        width:    6
                        ascent:   11
                        descent:  2
                Per-character: 222/255
        fBold: fixed
                all chars:     no
                default char:  0
                direction:     0
                ascent:        11
                descent:       2
                first char:    0
                last char:     255
                maximum-chars: 256
                missing-chars: 33
                present-chars: 223
                min_byte1:     0
                max_byte1:     0
                properties:    22
                min_bounds:
                        lbearing: 0
                        rbearing: 0
                        width:    6
                        ascent:   -1
                        descent:  -10
                max_bounds:
                        lbearing: 2
                        rbearing: 6
                        width:    6
                        ascent:   11
                        descent:  2
                Per-character: 222/255
        fWide: fixed
                all chars:     no
                default char:  0
                direction:     0
                ascent:        11
                descent:       2
                first char:    0
                last char:     255
                maximum-chars: 256
                missing-chars: 33
                present-chars: 223
                min_byte1:     0
                max_byte1:     0
                properties:    22
                min_bounds:
                        lbearing: 0
                        rbearing: 0
                        width:    6
                        ascent:   -1
                               max_bounds:
                        lbearing: 2
                        rbearing: 6
                        width:    6
                        ascent:   11
                        descent:  2
                Per-character: 222/255
        fWBold: fixed
                all chars:     no
                default char:  0
                direction:     0
                ascent:        11
                descent:       2
                first char:    0
                last char:     255
                maximum-chars: 256
                missing-chars: 33
                present-chars: 223
                min_byte1:     0
                max_byte1:     0
                properties:    22
                min_bounds:
                        lbearing: 0
                        rbearing: 0
                        width:    6
                        ascent:   -1
                        descent:  -10
                max_bounds:
                        lbearing: 2
                        rbearing: 6
                        width:    6
                        ascent:   11
                        descent:  2
                Per-character: 222/255
xterm: cannot load font "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1"
Loaded VTFonts(default)
        fNorm: fixed
                all chars:     no
                default char:  0
                direction:     0
                ascent:        11
                descent:       2
                first char:    0
                last char:     255
                maximum-chars: 256
                missing-chars: 33
                present-chars: 223
                min_byte1:     0
                max_byte1:     0
                properties:    22
                min_bounds:
                        lbearing: 0
                        rbearing: 0
                        width:    6
                        ascent:   -1
                        descent:  -10
                max_bounds:
                        lbearing: 2
                        rbearing: 6
                        width:    6
                        ascent:   11
                        descent:  2
                Per-character: 222/255
        fBold: fixed
                all chars:     no
                default char:  0
                direction:     0
                ascent:        11
                descent:       2
                first char:    0
                last char:     255
                maximum-chars: 256
                missing-chars: 33
                present-chars: 223
                min_byte1:     0         
                descent:  -10
                max_byte1:     0
                properties:    22
                min_bounds:
                        lbearing: 0
                        rbearing: 0
                        width:    6
                        ascent:   -1
                        descent:  -10
                max_bounds:
                        lbearing: 2
                        rbearing: 6
                        width:    6
                        ascent:   11
                        descent:  2
                Per-character: 222/255
        fWide: fixed
                all chars:     no
                default char:  0
                direction:     0
                ascent:        11
                descent:       2
                first char:    0
                last char:     255
                maximum-chars: 256
                missing-chars: 33
                present-chars: 223
                min_byte1:     0
                max_byte1:     0
                properties:    22
                min_bounds:
                        lbearing: 0
                        rbearing: 0
                        width:    6
                        ascent:   -1
                        descent:  -10
                max_bounds:
                        lbearing: 2
                        rbearing: 6
                        width:    6
                        ascent:   11
                        descent:  2
                Per-character: 222/255
        fWBold: fixed
                all chars:     no
                default char:  0
                direction:     0
                ascent:        11
                descent:       2
                first char:    0
                last char:     255
                maximum-chars: 256
                missing-chars: 33
                present-chars: 223
                min_byte1:     0
                max_byte1:     0
                properties:    22
                min_bounds:
                        lbearing: 0
                        rbearing: 0
                        width:    6
                        ascent:   -1
                        descent:  -10
                max_bounds:
                        lbearing: 2
                        rbearing: 6
                        width:    6
                        ascent:   11
                        descent:  2
                Per-character: 222/255

...

Recentemente, instalei o Arch com o pacote de grupo i3-wm para contexto. Também é possível que a fonte esteja simplesmente embutida dentro de um binário, já que não instalei nenhuma fonte explicitamente?

Adoraria receber qualquer informação!!

fonts
  • 1 1 respostas
  • 14 Views

1 respostas

  • Voted
  1. Best Answer
    grawity
    2024-10-22T12:37:53+08:002024-10-22T12:37:53+08:00

    A fixedfonte padrão não tem arquivo e é incorporada ao código do servidor X, porque ela existe como um fallback específico para situações em que você não tem os diretórios de fontes usuais instalados.

    Depois de instalar as fontes bitmap X11 padrão dos xorg-fonts-75dpi xorg-fonts-100dpi xorg-fonts-miscpacotes, você encontrará uma cópia da fonte em misc/6x13-ISO8859-1.pcf.gz.

    /usr/share/fonts/*/fonts.aliasIsso pode ser encontrado pesquisando ^fixedou executando xlsfonts -l fixedpara procurar seu XLFD e, em seguida, pesquisando esse XLFD /usr/share/fonts/*/fonts.dirpara procurar o nome do arquivo.

    $ cd /usr/share/fonts
    $ grep ^fixed */fonts.alias
    misc/fonts.alias:fixed        -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
    $ grep -- "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1" */fonts.dir
    misc/fonts.dir:6x13-ISO8859-1.pcf.gz -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
    

    Observe que o fixedalias é específico para a versão ISO 8859-1 da fonte, não para a versão Unicode.

    • 0

relate perguntas

  • Qual é a diferença entre as várias fontes fixas diversas do mesmo tamanho e do mesmo código ISO?

  • Problemas de fonte com o Unity 17.10

  • Como instalar fontes para CentOS 7?

  • Certo texto em fonte errada e desalinhado no Google Chrome

  • Qual é a fonte dessa imagem? [fechado]

Sidebar

Stats

  • Perguntas 205573
  • respostas 270741
  • best respostas 135370
  • utilizador 68524
  • Highest score
  • respostas
  • Marko Smith

    Possível firmware ausente /lib/firmware/i915/* para o módulo i915

    • 3 respostas
  • Marko Smith

    Falha ao buscar o repositório de backports jessie

    • 4 respostas
  • Marko Smith

    Como exportar uma chave privada GPG e uma chave pública para um arquivo

    • 4 respostas
  • Marko Smith

    Como podemos executar um comando armazenado em uma variável?

    • 5 respostas
  • Marko Smith

    Como configurar o systemd-resolved e o systemd-networkd para usar o servidor DNS local para resolver domínios locais e o servidor DNS remoto para domínios remotos?

    • 3 respostas
  • Marko Smith

    apt-get update error no Kali Linux após a atualização do dist [duplicado]

    • 2 respostas
  • Marko Smith

    Como ver as últimas linhas x do log de serviço systemctl

    • 5 respostas
  • Marko Smith

    Nano - pule para o final do arquivo

    • 8 respostas
  • Marko Smith

    erro grub: você precisa carregar o kernel primeiro

    • 4 respostas
  • Marko Smith

    Como baixar o pacote não instalá-lo com o comando apt-get?

    • 7 respostas
  • Martin Hope
    user12345 Falha ao buscar o repositório de backports jessie 2019-03-27 04:39:28 +0800 CST
  • Martin Hope
    Carl Por que a maioria dos exemplos do systemd contém WantedBy=multi-user.target? 2019-03-15 11:49:25 +0800 CST
  • Martin Hope
    rocky Como exportar uma chave privada GPG e uma chave pública para um arquivo 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Evan Carroll status systemctl mostra: "Estado: degradado" 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim Como podemos executar um comando armazenado em uma variável? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S Por que /dev/null é um arquivo? Por que sua função não é implementada como um programa simples? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 Como ver as últimas linhas x do log de serviço systemctl 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - pule para o final do arquivo 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla Por que verdadeiro e falso são tão grandes? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis Substitua a string em um arquivo de texto enorme (70 GB), uma linha 2017-12-30 06:58:33 +0800 CST

Hot tag

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

  • Início
  • Perguntas
    • Recentes
    • Highest score
  • tag
  • help

Footer

AskOverflow.Dev

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve