I just fixed one of the bugs in the code (the bit which sets the line
style). It turned out gnome-print was a little bit broken. If you want
to test out this code, I recommend getting the latest CVS version of
gnome-print as well.
I just tried printing samples/UML-demo.dia, and it seemed to work quite
well, splitting the file over a number of pages. I should probably add
the ability to scale the image before printing as well.
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
On Wed, 8 Sep 1999, James Henstridge wrote:
> There are a few bugs, and the postscript it produces seems to be a bit
> broken. I am not sure if it is my code or gnome-print that is causing
> breakage though (any postscript gurus welcome to tell me!). Also, the
> gnome-print API does not have support for elliptic arcs, so ellipses and
> arcs will not print properly at the moment. Either support needs to be
> added to gnome-print, or I could approximate them with beziers.