Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!pasteur!cory.Berkeley.EDU!navas From: navas@cory.Berkeley.EDU (David C. Navas) Newsgroups: comp.sys.amiga.programmer Subject: Re: Bitmapped font scaling? AmigaMail! Message-ID: <14303@pasteur.Berkeley.EDU> Date: 26 Jun 91 22:00:08 GMT References: <1124.2867637f@vger.nsu.edu> <14290@pasteur.Berkeley.EDU> <1129.286894b2@vger.nsu.edu> Sender: news@pasteur.Berkeley.EDU Reply-To: navas@cory.Berkeley.EDU Lines: 70 In article <1129.286894b2@vger.nsu.edu> manes@vger.nsu.edu ((Mark D. Manes), Norfolk State University) writes: >In article <14290@pasteur.Berkeley.EDU>, navas@cory.Berkeley.EDU (David C. Navas) writes: >> Snort. > >Snort? What kind of response is 'snort'? It is rude to snort >in public...so here is a hanky to do it in. :-) Ah, thank ye. Must be allergies, surely couldn't have been commenting on our wonderful new Workbench. ;} >> Well, good user-interface design dictates that the User sees the scaled >> font *before* the requester is exited. Again, TurboText has that. >> [Gee what editor does he use, I wonder ;)] > >I use CEDPro and I don't regularly change fonts. TurboText is new so >it should not be a surprise that everyone is not informed as to what >it has for features. Err, yeah, I was talking about myself in a different "person" or whatever the technical term is. I wasn't referring to you or anyone else. Nor indeed trying to start an editor war. Goodness, I try to restrict myself to .advocacy for that. :) >I can see the point of seeing the generated font prior to selecting it, >but I wonder what happens and how long it takes on a non-accellerated >machine to generate a 99 point font? What happens when the font is Well, I'd be surprised if it took longer than 2 seconds or so. On my A3000 iit was instantaneous. But then, that's not surprising, so is everything else.... Unfortunately, my A500 is at my girlfriends. >generated... is this font saved to disk? If so, what happens if the Not that I know of. >disk is full? What is the result code from the requestor? How does Good question. Lesse, my asl.doc says that AllocAslRequest() will allocate a "struct FontRequester *" which it returns... [My include headers says that you must call AllocFontRequest, which my AutoDocs don't mention] Apparently calling AslRequest() gets input for the requester from the user, there are callback functions to allow you to accept or reject certain font sizes, etc. And when AslRequest() comes back non-NULL, well then we get foggier. The Docs say to refer to the includes. The includes say nothing. My guess would be that the "READ ONLY!!!" part of the FontRequester structure is filled in with the fontname and size (they are there...), so you could open the font. Good question as to whether the requester has already openned the font, though... >the user abort the generation if it is not what he wants? Abort the generation? If it only takes a couple of seconds? There is a Cancel button.... >I am not flaming, but I feel the AmigaMail article left out some >interesting details. They usually do. Too short, not frequent enough either. Oh well. >-mark= >manes@vger.nsu.edu I hope this helped, instead of further confusing. I'd read the asl.doc if you have it -- very interesting. If only the rest of the system were so configurable :) David Navas navas@cory.berkeley.edu 2.0 :: "You can't have your cake and eat it too." Also try c186br@holden, c260-ay@ara and c184-ap@torus