答案1
我在某个阶段将字体转换为 TTF 文件,并在 OS X 上使用该文件并取得了一些成功。当使用抗锯齿进行渲染时,它可以用于令人惊讶的广泛尺寸范围。
可用这里。
答案2
此字体(Sun Gallant Demi)的源代码可用这里。
它可以在 Linux 发行版下/usr/lib/kbd/consolefonts/sun12x22.psfu.gz
和 FreeBSD 中使用(或接近的等效项)allscreens_flags="-f gallant"
使用/etc/rc.conf
.
我毫不怀疑像psf2bdf
和 之类的转换工具Fontforge
,您将能够将其转换为在 Windows 下可用的东西。
请注意,生成的字体将具有固定宽度,因此只能以其自己的尺寸使用,任何其他尺寸都会由于像素插值而产生丑陋的文本。
答案3
据安德鲁·加布里埃尔 (Andrew Gabriel) 在2013 年 Usenet 主题:
In article <[email protected]>,
- show quoted text -
I don't think you can. There's only one font built-in to the vgatext
driver which is 8x16, which gives standard size (80x24?) on 1024x768
VGA console.
I have a vague recollection it could be done with much older releases
of Solaris x86 which used the fonts stored in the VGA card (of which
there are several standard sizes), but now it loads Sun's workstation
font into the VGA card, and there's only one resolution of that
included in the x86 driver.
BTW, the font is a bitmap font called Sun Gallant Demi, or in X,
-sun-gallant-demi-*-normal-*-*-*-*-*-*-*-*-*
So in theory you could run:
xterm -font '-sun-gallant-demi-*-normal-*-*-*-*-*-*-*-*-*' -fg white -bg black
to run an xterm looking like the console, except Solaris 11 no longer
includes the Sun fonts. You may be able to extract them from an
older release or find them somewhere on the web.
--
Andrew Gabriel
[email address is not usable -- followup in the newsgroup]
鉴于sun
在字体名称中,您不太可能在 Windows 中获得完全相同的字体。