[BUG][FIX] PostscriptCharacterScanner DNU #setAlignment: ( [sm] )

bryce at kampjes.demon.co.uk bryce at kampjes.demon.co.uk
Tue Nov 4 00:48:32 UTC 2003


This fixes the DNU but doesn't centre the printed postscript text. This
bug is important if printing is
important for StackMorphs.

A simpler fix would be to remove the expression

	(paragraph text attributesAt: offset forStyle: paragraph textStyle) do:

		[:att | att emphasizeScanner: self].

from PostscriptCharacterScanner>>setTextStylesForOffset:offset.

emphasizeScanner: just calls setAlignment:. Given the proposed fix
doesn't change the printed postscript, a simpler option might be better.
It's possible that there is another bug or missing feature somewhere
else in the printing code.

I don't know enough about StackMorph's, postscript, or Squeak's printing
to take this any further.













< I'm a bug-fixing machine! >

This post brought to you by the BugFixArchiveViewer, a handy tool that
makes it easy to comment on proposed fixes and enhancements for Squeak. 
For more information, check out the Web page for the BugFixArchiveViewer
project: http://minnow.cc.gatech.edu/squeak/3214 

< I'm a bug-fixing machine! >



More information about the Squeak-dev mailing list