[FIX] PSFixes-nk

ned at squeakland.org ned at squeakland.org
Fri Jan 2 09:39:41 UTC 2004


from preamble:

"Change Set:		PSFixes-nk
Date:				2 January 2003
Author:			Ned Konz

A number of fixes to the Postscript output routines:

* fix the bounding box and offset problems
* make the EPS output closer to valid
* use the right file extension
* make Bezier curve drawing more robust
* SimpleBorders are rendered more cleanly
* Move font mapping to the class side of PostscriptCanvas
* Render list item morphs with icons better

I tried to get the filled curves (Polygons, Beziers) to account for the
difference in the Postscript imaging model, but couldn't get it to look
right by clipping in the center of the borderline. So these filled
curves are going to be too large by half their border width.

Rectangles have their border drawing compensated for this effect.

Font mapping is still not very good, but you can edit the table if you
want now. There is not yet any API for doing this, but you can open an
Inspector on

PostscriptCanvas fontMap

to edit the map.
"!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PSFixes-nk.cs.gz
Type: application/octet-stream
Size: 10268 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040102/703c6ab0/PSFixes-nk.cs.obj


More information about the Squeak-dev mailing list