我已将Emacs24 (emacs24-lucid
from wheezy-backports
)安装在另一种stable
Debian系统上,并在X11下运行。
在X11下,Emacs24显示一些字体系列(如ProFontIIx ),只有当我选择家庭可用的位图字体之一的大小时,才会显示非反别名字体。问题是要弄清楚那些“魔法”大小是什么。
我尝试了xfontsel
,但出于某种原因,ProFontIIx
并不是它提供的选项之一(即使这个字体已经安装,并且是由Emacs24找到的)。
否则,我如何才能计算出将产生非抗锯齿字体的大小?
(我只想说清楚:我不想要反混叠。)
发布于 2016-12-30 05:14:48
如果它使用fontconfig作为简单的名称(即不使用带有14个破折号的X11字体名称),那么您需要使用fc-list
列出在fontconfig搜索目录中找到的字体(通过fonts.conf
文件配置,而不是xlsfonts
使用的X11字体路径)。
例如,在我的系统上安装了一个不同大小的Courier字体的部分列表,其中位图字体显示了pixelsize
,可伸缩字体则省略了。
% fc-list Courier : family style pixelsize
Courier:style=Bold Italic
Courier:style=Regular:pixelsize=34
Courier:style=Regular
Courier:style=Regular:pixelsize=12
Courier:style=Regular:pixelsize=14
Courier:style=Regular:pixelsize=8
Courier:style=Regular:pixelsize=11
Courier:style=Regular:pixelsize=10
Courier:style=Regular:pixelsize=20
Courier:style=Regular:pixelsize=17
Courier:style=Regular:pixelsize=18
Courier:style=Regular:pixelsize=25
Courier:style=Regular:pixelsize=24
...
https://unix.stackexchange.com/questions/184599
复制相似问题