Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!rutgers!cbmvax!carolyn From: carolyn@cbmvax.commodore.com (Carolyn Scheppner - CATS) Newsgroups: comp.sys.amiga.programmer Subject: Re: Bitmapped font scaling? AmigaMail! Message-ID: <22744@cbmvax.commodore.com> Date: 27 Jun 91 19:26:41 GMT References: <1124.2867637f@vger.nsu.edu> Reply-To: carolyn@cbmvax.commodore.com (Carolyn Scheppner - CATS) Organization: Commodore, West Chester, PA Lines: 39 In article <1124.2867637f@vger.nsu.edu> manes@vger.nsu.edu ((Mark D. Manes), Norfolk State University) writes: >... >On another note. I was reading the article in AmigaMail about the >asl.library. Did anyone notice besides myself that, according to the >article, if a font requestor is created the user can enter the point >size regardless of whether that font point size existed. The implication >was that the font would be scaled...and this was the bitmapped fonts! >Is this true, or did I misinterpet the article? If it is true, is it >'correct' for a requestor to do any processing? It seems to me that >while on the surface this may seem to be great, it may be less than >wonderful if the scaling can't be aborted in the case of a bad entry. As long as the caller doesn't set the FPF_DESIGNED flag in TextAttr.Flags when calling OpenDiskFont(), 2.0 will scale the font to the size requested if the size is not available as a designed size. This will be bitmap scaling for non-outline fonts, and these can look pretty weird. However, for upcoming outline fonts, it will look great. As far as processing/filtering goes, I felt it was better to let people scale fonts by default - after all, the user has to explicitly do extra work to enter a size that is not presented in the list. I felt that the scrolling list implied "Here are the fonts I want you to chose from", and that a user who goes out of their way to enter something other than what is presented in the list 1. knows what they want and 2. can live with the consequences. The application is always free to reject the font selected and force the user to choose again. -- ========================================================================== Carolyn Scheppner -- Tech. Mgr. CATS - Commodore Amiga Technical Support PHONE 215-431-9180 {uunet,rutgers}!cbmvax!carolyn carolyn@commodore.com Signed characters are xenophobic. ==========================================================================