I would like to be able to display in the Wine console all characters that the Win32 console can display. I've written a small test program to print out all 8-bit characters:
#include <stdio.h>
int main(int argc, char *argv[]) {
int i, j;
for (i = 0; i <= 0xF0; i+=0x10) {
for (j = i; j <= i + 0x0F; ++j)
printf("%2x:%c", j, (char)j);
printf("\n");
}
getchar();
return 0;
}
Under Wine, the best I can do so far is using Andale Mono:
While this is what I see on Windows Server 2008:
Is there anywhere I can legally download a font that will allow me to view all of those characters under Wine?
edit I've found a set of DOS fonts that includes a CP437 font, which should cover the character set I'm interested in. However, even if I install this font, wineconsole
doesn't seem to recognize it. Is there any way I can get wineconsole
to use this font, or convert this font to a format that wineconsole
can use? Or is there any way I can extract fonts from DOSEMU for use in Wine?
Oh, and I should probably mention that I'm on Mac OS X 10.6.2, installing Wine via MacPorts, using the wine-devel
package.
more information
I have tried installing some console fonts that should cover the full character set as Mac OS X fonts (such as the NewDOS font listed above, and a font I tried converting from the fonts supplied by DOSEMU). Wine does not seem to pick up on new fonts installed in Mac OS X. Is there a way to register new fonts I've installed with Wine? Would manually editing the system.reg
file that seems to contain font mappings work, or is there something else I'd need to do?
bump
Bounty ends soon, I'm still looking for an answer for this. Does anyone use the Wine console for complex text user interfaces?
Best Answer
The Lucida Console font, which ships with Windows, is one of two fonts you can choose in the Windows Console, and supports the full character set demonstrated above (as well as many other accented Latin characters). It can be purchased from Ascender for $30.
This would probably meet my need, but I would rather not spend $30 on a font, so I'm still looking to see if anyone can provide a free alternative.