Font for Wine that supports the entire character set of the Win32 Console?

Posted by Brian Campbell on Super User See other posts from Super User or by Brian Campbell
Published on 2010-01-23T20:46:26Z Indexed on 2010/05/04 11:08 UTC
Read the original article Hit count: 436

Filed under:
|
|
|

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:

Screenshot of character set displayed on Wine console

While this is what I see on Windows Server 2008:

Screenshot of character set displayed 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?

© Super User or respective owner

Related posts about wine

Related posts about console