[BUG][FIX] PostscriptCharacterScanner DNU #setAlignment: ( [sm] )
Bryce Kampjes
bryce at kampjes.demon.co.uk
Tue Nov 4 00:51:51 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.
More information about the Squeak-dev
mailing list
|