Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!samsung!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!bagate!cbmvax!darren From: darren@cbmvax.commodore.com (Darren Greenwald) Newsgroups: comp.sys.amiga.programmer Subject: Re: OpenDiskFont crashes Message-ID: <22545@cbmvax.commodore.com> Date: 18 Jun 91 17:52:47 GMT References: <1376@cbmger.UUCP> Reply-To: darren@cbmvax.commodore.com (Darren Greenwald) Organization: Commodore, West Chester, PA Lines: 23 In article <1376@cbmger.UUCP> peterk@cbmger.UUCP (Peter Kittel GERMANY) writes: >In article ms0p+@andrew.cmu.edu (Michael Gordon Shapiro) writes: >>I have an A3000 running 2.01. I use Lattice C 5.11. Whenever I call >>OpenDiskFont, I get a guru. Anyone care to speculate what giveth? > >Did you open diskfont.library and check for success? >If this is ok and you search for a sample program, just look onto >-- >Best regards, Dr. Peter Kittel // E-Mail to \\ Only my personal opinions... >Commodore Frankfurt, Germany \X/ {uunet|pyramid|rutgers}!cbmvax!cbmger!peterk Another thing to check is the TextAttr structure being passed in. A possible (though obscure problem) is a TextAttr with the TAGGED bit set in ta_Style (its the high bit in the byte), in which case the structure is believed to be extended with a pointer to a tag list. -------------------------------------------------------------- Darren M. Greenwald | Commodore-Amiga Software Engineering | USENET: uunet!cbmvax!darren -------------------------------------------------------------- Quote: "It would be impossible to discuss the subject without a common frame of reference." - Spock