Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!bionet!agate!skippy.berkeley.edu!lippin From: lippin@skippy.berkeley.edu (The Apathist) Newsgroups: comp.sys.mac.programmer Subject: Re: Full justification on the LaserWriter Message-ID: <1991Mar19.041439.7946@agate.berkeley.edu> Date: 19 Mar 91 04:14:39 GMT References: <2926@krafla.rhi.hi.is> Sender: usenet@agate.berkeley.edu (USENET Administrator) Reply-To: lippin@math.berkeley.edu Organization: Authorized Service, Incorporated Lines: 22 Recently grh@rhi.hi.is (Gisli Runar Hjaltason) wrote: > I have been writing a program that does some printing in full > justification. What I do is to count the spaces in a printing line > and call SpaceExtra with the quotient of the pixel number that is > needed to fill the line and the number of spaces. Instead of using SpaceExtra, try the Script Manager call DrawJust, as seen in IM V. If you have IM VI, or perhaps "Worldwide Software Overview," (from APDA) you may also want to look at NDrawJust. If you're using multiple styles, you should look into PortionText, described in "Script Manager 2.0," which is also from APDA, or up for grabs on apple.com. Yes, you too can be Script Manager compatible for fun and profit, if you can find the documentation. --Tom Lippincott lippin@math.berkeley.edu "What use have I for such a quantity of plastic fruit?" --attributed to Aristotle