Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4299145

Java 2D Printing: Raster path does not adjust for printer margins in 1.3

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.0
    • client-libs
    • None
    • 2d
    • beta
    • x86
    • windows_nt

      In kestrel (1.3) we now honour the settings made by an application
      though the PageFormat to specify the positioning on the paper of the imageable
      area. ie we properly adjust the PathGraphics implementation class's transform
      so that it compensates for the printer margins.
      So, for example specifying margins of one inch in page format results in precisely one inch margins all round.

      The same has not been done for the bandGraphics used for raster printing.
      the conseqence is that the printing maybe shifted down & to the right resulting
      in larger than specified top & left margins and smaller bottom & right margins.

      This is not a major problem since the raster path is no longer used in most
      printing and in any case does not affect anything other than a slight offset
      of the printed area.
      Specifically only pages which set colors with an alpha component will
      be affected.

            prr Philip Race
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: