RE: win32lib problem (fonts) HELP
- Posted by Brian Broker <bkb at cnw.com> Apr 27, 2001
- 532 views
Daryl, A (long) while back I wanted to use this font in one of my programs. The only way I could get it was by changing Win32Lib's default font to OEM_FIXED_FONT. This can now be done without modifying the library using "setStartupFont( OEM_FIXED_FONT )". However, here is an interesting note from MS: http://support.microsoft.com/support/kb/articles/Q196/2/80.ASP -- Brian Daryl van den Brink wrote: > Hi everyone > > I have found a problem with win32lib to do with drawing fonts to a > window. > I wanted to use the terminal font, so i wrote: > > setFont(window1, "terminal", 9, Normal) > > to set the font. The trouble is, no matter what i tried i couldn't get > my > program to use the terminal font. I even tried using getFontDialog() to > get > the font name, and it still did not use the right font. Sure enough, it > > works perfectly with any other font, true type or bitmap. I thought the > > problem might be that terminal is a bitmap font, but I don't think this > is > it. Can anyone help? > > thanks in advance, > Daryl van den Brink > >