Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!shadooby!ginosko!uunet!microsoft!t-benw From: t-benw@microsoft.UUCP (Benjamin Waldmin) Newsgroups: comp.sys.mac.programmer Subject: Outline fonts and Font sizes Summary: How do you build a font size menu if you have outline fonts? Keywords: System 7.0 fonts Message-ID: <7994@microsoft.UUCP> Date: 10 Oct 89 00:56:09 GMT Reply-To: benw@microsoft.UUCP (Benjamin Waldmin) Organization: Microsoft Corp., Redmond WA Lines: 26 Suppose you're building a font menu or a list box with all font sizes that are currently available in the currently selected font. Nowadays, one can just iterate from 1 to 127 points and call RealFont to see if the font of the font of the designated size really exists (and, of course, there would always be an option to let the user pick another size). But what happens when outline fonts come along? Does RealFont always return TRUE for any size of an outline font? If so, then what kind of menu/list box should one build--how many sizes should it include, and what point sizes should those be? Of course, one can always include 9, 10, 12, 18, and 24. But do we include 14? 36? 27? 48? Has anyone thought about this issue? Thanks, Ben Waldman Software Design Engineer, Microsoft Corp. uunet!microsoft!benw Disclaimer: The statements/opinions/questions above reflect my own views and not those of my employer.