Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!jarthur!rspangle From: rspangle@jarthur.Claremont.EDU (Froot Loop) Newsgroups: comp.windows.ms Subject: Re: Dos Window Fonts Message-ID: <9090@jarthur.Claremont.EDU> Date: 13 Oct 90 03:36:34 GMT References: <1918@abvax.UUCP> <9071@jarthur.Claremont.EDU> <1990Oct12.211431.21683@athena.mit.edu> Organization: Harvey Mudd College, Claremont, CA 91711 Lines: 32 In article <1990Oct12.211431.21683@athena.mit.edu> mmshah@athena.mit.edu (Milan M Shah) writes: >WRT changing fonts in a DOS window by changing the CGA40W0A.FON = ... [text deleted] >closer inspection, I see that the default files CGA40W0A.fon etc. are only >about 5K long, while those in fonts.lzh are all about 50-60K long. So there >seems to be two different types of fonts... Yup. The fonts for normal windows use are ANSI character set. This is different from the ASCII character set which DOS programs expect. They're the same for the first 127 characters, I think, but differ in the highbit characters (see Appendix B in the Windows User's Guide). The font files for normal Windows fonts are so much bigger because they have several sizes of fonts inside each file (normally 8,10,12,14,18,24 point fonts all in one file). The WOA fonts only have one character set in each file (256 chars * 16 bytes/char = 4096 bytes, plus a header). So to replace your WOA fonts, you need other font files which have the full 256-char ASCII set. I haven't seen any of these yet. As soon as I can get my hands on the SDK, though, I'll write a capture program. That is, if Jason can't find the program he saw. (It should have been on Compu$erve, but we're poor college students - anyone care to poke around there for us?) -- -------------------------------------------------------------------------- | Randy Spangler | The less things change, the | | rspangle@jarthur.claremont.edu | more they remain the same | --------------------------------------------------------------------------