Xref: utzoo comp.sys.mac.hypercard:6705 comp.sys.mac.system:5813 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!apple.com!rmh From: rmh@apple.com (Rick Holzgrafe) Newsgroups: comp.sys.mac.hypercard,comp.sys.mac.system Subject: Re: HC 2.0 & TrueType: SLOW? Message-ID: <13572@goofy.Apple.COM> Date: 20 May 91 23:22:16 GMT References: <1991May19.202407.10132@midway.uchicago.edu> Sender: usenet@Apple.COM Organization: Apple Computer, Inc. Lines: 40 In article <1991May19.202407.10132@midway.uchicago.edu> tisu@quads.uchicago.edu (Seth Tisue) writes: > Each card had some 36 pt Courier, some 24 > pt Helvetica, some 14 pt Helvetica Bold, and some 14 pt Times. Hm - I'm no expert, but I'm not too surprised if it slowed down a bit under TrueType. To display TT fonts, the system must interpret ("render") the TT to create a proper-size bitmap font, which it holds in temporary memory (the "cache"). Once rendered, so long as that bitmap stays in the cache, further printing in that font, size, and style should be quick. But bigger point sizes take up more room in the cache. And each of your cards has four different fonts, two in large sizes; I bet the cache simply can't hold it all, and the bitmaps therefore can't be remembered from one card to the next. So on each card, the bitmaps are being rendered all over again! And before you ask - I have no idea how to increase the font cache size, if that's even possible. (Anybody out there know?) > is it possible to use the TrueType version > of a font simultaneously with some of its bitmaps? i.e., can one install > the Times TT font, and then install a 14 point Times bitmap, so whenever > you need that font in that size, you can bypass TrueType for extra speed? If > so, how careful to you need to be about font ID's and so forth -- does it > just work, or does it take some tinkering with? Yes, you can, and yes, it just works. :-) The System will use the correct-size bitmap font if it is available; else it will use a TrueType font appropriately scaled. Hope this helps. ========================================================================== Rick Holzgrafe | {sun,voder,nsc,mtxinu,dual}!apple!rmh Software Engineer | AppleLink HOLZGRAFE1 rmh@apple.com Apple Computer, Inc. | "All opinions expressed are mine, and do 20525 Mariani Ave. MS: 3-PK | not necessarily represent those of my Cupertino, CA 95014 | employer, Apple Computer Inc."