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

Japanese characters were printed upside down on AIX

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      b28
    • CPU:
      ppc
    • OS:
      aix

      Backports

        Description

        FULL PRODUCT VERSION :
        openjdk version "15" 2020-09-15
        OpenJDK Runtime Environment AdoptOpenJDK (build 15+36)
        Eclipse OpenJ9 VM AdoptOpenJDK (build openj9-0.22.0, JRE 15 AIX ppc64-64-Bit Compressed References 20200922_44 (JIT enabled, AOT enabled)
        OpenJ9 - 1830b1927
        OMR - 73d5e7623
        JCL - 7e7613c015 based on jdk-15+36)

        ADDITIONAL OS VERSION INFORMATION :
        AIX 7100-04-03-1642

        A DESCRIPTION OF THE PROBLEM :
        Under the following conditions, Japanese characters were printed upside down.
        - Nimbus L&F
        - Width of the image is larger than 1012 dots.
        - LANG=ja_JP


        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        SwingSet2 demo can recreate the issue.
        1. Start SwingSet2
2. Move to JTable Demo
        3. Switch to Nimbus L&F
4. Enlarge SwingSet2 frame to more than 1012-dot width
        5. Mark "Adjusting Width" check box
        6. Press Print button on Printing pane
        7. On Print Dialog, check "Print to File" and press "Print" button
        8. On Print To File Dialog, press "Save" button.

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        Expected result:
        See "ok.png" (Java L&F)
        Both English and Japanese characters were printed correctly.

        Actual result:
        See "problem.png" or "out.ps"
        Japanese characters were printed upside down.
        Only English characters were printed correctly.


        REPRODUCIBILITY :
        This bug can be reproduced always.

          Attachments

          1. ok.png
            492 kB
            Toshio Nakamura
          2. out.ps
            6.23 MB
            Toshio Nakamura
          3. problem.png
            555 kB
            Toshio Nakamura

            Issue Links

              Activity

                People

                Assignee:
                tnakamura Toshio Nakamura
                Reporter:
                tnakamura Toshio Nakamura
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: