Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!sunic!isgate!krafla!grh From: grh@rhi.hi.is (Gisli Runar Hjaltason) Newsgroups: comp.sys.mac.programmer Subject: Full justification on the LaserWriter Message-ID: <2926@krafla.rhi.hi.is> Date: 18 Mar 91 20:12:44 GMT Reply-To: grh@rhi.hi.is (Gisli Runar Hjaltason) Organization: University of Iceland (RHI) Lines: 15 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. Then I draw the line with TextBegin and TextEnd pictcomments framing it. This works well when printing to the screen with the Preview driver or printing to PICT with the Print2Pict driver. It breaks down, however, when printing with the LaserWriter 6.0 driver. I must be missing something, because other programs do this. Thanks in advance. -- ============================================================================== Gisli R. Hjaltason grh@rhi.hi.is Iceland