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

Wrong text position for whitespaced string in printing Swing text

    XMLWordPrintable

Details

    Backports

      Description

        PrinterJob.print() doesn't seem to calculate whitespaces correctly.
        A string beginning with multiple whitespaces is displayed properly in Swing
        component. However, when printing, the start position of the line changes,
        according to the number of whitespaces.

        Attachments

          Issue Links

            Activity

              People

                psadhukhan Prasanta Sadhukhan
                shadowbug Shadow Bug
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: