Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!sri-spam!nike!ucbcad!ucbvax!CORY.BERKELEY.EDU!dillon From: dillon@CORY.BERKELEY.EDU (Matt Dillon) Newsgroups: net.micro.amiga Subject: OpenFont() and OpenDiskFont() in 1.2 Gamma (possible bug?) Message-ID: <8610311855.AA29341@cory.Berkeley.EDU> Date: Fri, 31-Oct-86 13:55:08 EST Article-I.D.: cory.8610311855.AA29341 Posted: Fri Oct 31 13:55:08 1986 Date-Received: Sat, 1-Nov-86 04:52:52 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: University of California at Berkeley Lines: 23 I've been writing a little, incredibly fast, text-viewer program. One of its features (and it only has a few.. it's meant not to take up much room) is to allow you to specify the FONT. So, I set up the Text Attribute with the font name and font Ysize, set everything else to 0, and call OpenFont(). If it fails I set the flags field to FPF_DISKFONT, open the DISKFONT library, and call OpenDiskFont(). -I open ruby.font w/Ysize = 8, no problem, it works fine. The program fails on OpenFont() and works with OpenDiskFont(). -I open ruby.font w/Ysize = 12. OpenFont() does NOT fail.. it gives me the ruby.font/8 that I openned earlier. Is this a bug with OpenFont() or am I supposed to double check fonts returned to me? Note: OpenDiskFont() seems to work fine. -Matt