What is the identification of the font being used for the Solaris console in text mode?
The source code of this font (Sun Gallant Demi) is available here:
https://github.com/illumos/illumos-gate/blob/master/usr/src/uts/common/io/12x22.c
It is available (or a close equivalent) under Linux distributions under /usr/lib/kbd/consolefonts/sun12x22.psfu.gz
I have no doubt with conversion tools like psf2bdf
and Fontforge
, you'll be able to convert it to something usable under Windows.
Beware than the resulting font will have a fixed width so will only be usable at its own size, any other size would give an ugly text due to pixel interpolation.
I converted the font into a TTF file at some stage, which I have used on OS X with some success. When rendered with anti-aliasing, it's usable at a surprisingly broad range of sizes.
It's available here: https://us-east.manta.joyent.com/jmc/public/tmp/gallant12x22.ttf
According to Andrew Gabriel on a Usenet thread in 2013:
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]
Given the sun
in the font name, it's unlikely that you'll get exactly that font with Windows.