我正在运行 Xterm,需要找到默认位图字体(misc-fixed)的目录。我找遍了所有地方,但还是找不到。有什么想法吗?
这是我运行时的输出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
...
我最近安装了带有 i3-wm 组包的 Arch 以供参考。由于我没有明确安装任何字体,字体是否也可能只是嵌入在二进制文件中?
希望得到任何见解!!
默认
fixed
字体没有文件并且嵌入到 X 服务器的代码中,因为它作为后备字体存在,专门用于您没有安装常用字体目录的情况。一旦您从软件包中安装了标准 X11 位图字体
xorg-fonts-75dpi xorg-fonts-100dpi xorg-fonts-misc
,您将在 找到该字体的副本misc/6x13-ISO8859-1.pcf.gz
。/usr/share/fonts/*/fonts.alias
可以通过grepping^fixed
或运行xlsfonts -l fixed
查找其 XLFD,然后通过 grepping 该 XLFD/usr/share/fonts/*/fonts.dir
来查找文件名来找到它。请注意,字体的
fixed
别名专门为 ISO 8859-1 版本而设,而不是 Unicode 版本。