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

Japanese characters were printed upside down on AIX

XMLWordPrintable

    • 2d
    • b28
    • x86, ppc
    • windows, aix

        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.

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

              tnakamura Toshio Nakamura
              tnakamura Toshio Nakamura
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: