You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by Bill Haneman <Bi...@ireland.sun.com> on 2001/01/15 21:53:00 UTC

[commit] Printing support !

I have committed an initial cut at printing support.

Please note that a small change to the way the offscreen
buffer is painted was required: we now use

       g2d.drawRenderedImage(buffer, new AffineTransform());

    instead of
            //g2d.drawImage(buffer, null, 0, 0);

THis seems to be required due to a (probable) bug in
the JDK's printing support on Solaris (and maybe linux).

The panning, etc. doesn't seem to be negatively impacted,
but keep it in mind.  If we back out this one-line change,
printing will break so it will require a bit of extra work.

-Bill

------
Bill Haneman x19279
Ireland Desktop Engineering
Sun Microsystems Ireland Ltd.