Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!uhccux!munnari.oz.au!bruce!monu1!vaxc!cie590l From: hadgraft@civeng.monash.edu.au (Roger Hadgraft) Newsgroups: comp.windows.ms Subject: Re: fonts under mswindows Message-ID: <8482@vaxc.cc.monash.edu.au> Date: 15 Oct 89 23:03:51 GMT References: <31875@ucbvax.BERKELEY.EDU> Sender: cie590l@vaxc.cc.monash.edu.au (Hadgraft) Organization: Civil Engineering, Monash University, Australia Lines: 24 In article <31875@ucbvax.BERKELEY.EDU>, kipnis@janus.Berkeley.EDU (Gary Kipnis) writes: > I am trying to come up with a FIXED_SIZE font under ms-windows on an > EGA system s.t. that 80 characters will take up less than the complete > width of the screen. I tried using CreateFont function, but it doesn't > seem to create FIXED_SIZE fonts that are less than 10 in height ==> takes > up the whole screen. How easy would it be to create my own font using > Font Editor, and what's the difference between *.fnt and *.fon files > (*.fnt are created with the Font Editor) and how do I use fonts from > the above formats, I created *.fnt file, but I could not figure out > how to load it, nor could I load some sample fonts from *.fon format > After you create a .FNT font file, you must link it with a simple header file to create a .FON file which is really a .EXE file in disguise. The process is quite simple, and is described in the Software developers' Kit. I've created a couple of fonts, including a Symbol font (to match that in Postscript printers). You shouldn't have too much trouble creating a 9 pt font which wouldn't occupy the full width of the screen. Isn't there an 8 pt Courier version that you could use? regards, Roger Hadgraft | hadgraft@civeng.monash.edu.au Lecturer in Civil Engineering | phone: +61 3 565 4983 Monash University | fax: +61 3 565 3409 Clayton, Vic. 3168. Australia. |