Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!bbn!apple!well!shf From: shf@well.UUCP (Stuart H. Ferguson) Newsgroups: comp.sys.amiga Subject: SetFont (was Re: wp crashing) Message-ID: <11767@well.UUCP> Date: 21 May 89 23:19:27 GMT References: <8905081520.AA11220@jade.berkeley.edu> <705@solaria.csun.edu> <18030@cisunx.UUCP> Reply-To: shf@well.UUCP (Stuart H. Ferguson) Organization: The Blue Planet Lines: 25 +-- ejkst@unix.cis.pittsburgh.edu (Eric J. Kennedy) writes: |In article <705@solaria.csun.edu> ecphssrw@io.csun.edu (Stephen Walton) writes: | >Rick then describes a way to make your machine crash using a very | >obscure combination of reboots, SetFont's and WordPerfect's. Since | >SetFont is definitely *not* a supported part of the Amiga's OS, but a | >quick hack Dave Haynie put together which works _sometimes_, blaming | >WordPerfect ... | ... If it's going to use the default system font, then it had darn | well better check the size of that font before squashing it into an 8- | pixel-high line. And WP isn't alone. Lots of software breaks if you | don't have an 8x8 font as the default. ... Is SetFont really buggy -- or lets say, not fully reliable? I've been trying to write a program that will work with whatever the system font is and I've been testing it with SetFont. It seems that about half the time SetFont will crash if I use it *after* running my program. It always works before I run my program (i.e. right after a reboot), so I just assumed it was something I was doing. But if SetFont is flakey, perhaps that's the reason, not my code. Can anyone clarify under what circumstances SetFont will work correctly, and set my mind at ease (or not)? Thanx. -- Stuart Ferguson (shf@well.UUCP) Action by HAVOC