Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
PostscriptCanvas
Last updated at 4:58 pm UTC on 16 January 2006
From the class comment:

I am a canvas that converts Morphic drawing messages into Postscript. The canvas itself does not actually generate the Postscript code, but rather sends messages corresponding 1:1 to the Postscript imaging model to its target (default: PostscriptEncoder), which has the job of generating actual drawing commands.

PostscriptCharacterScanner and PostscriptDummyWarp are helper classes that simulate effects currently implemented via BitBlt-specific mechanisms during Postscript generation. They should be going away as Morphic becomes fully device independent.

From a mail from Marcel Weiher (25-March-02)
The font-mapping is done in
 PostscriptCanvas>>postscriptFontInfoForFont: 
with helpf from a mapping table initialized in
 PostscriptCanvas>>initializeFontMap.  
If you can find better mappings using commonly available Postscript fonts, that would be a very good contribution.