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

Algorithmic Italic font leans opposite angle in Printing

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      b26
    • CPU:
      x86_64
    • OS:
      linux

      Backports

        Description

        Many Japanese and Chinese fonts don't have Oblique style glyph, and algorithmic styling is used.
        When we print characters with algorithmic Italic style and AlphaComposite, the characters leaned opposite angle (top-left to bottom-right).

        This problem occurs only for printing, not on screen.

        At the beginning, I thought it's FreeType library's problem and reported it to them.
        https://savannah.nongnu.org/bugs/index.php?54565
        But, they indicated their behavior was correct because Java code mirrored the image instead of 180 degree rotation.

        Recreate steps:
        1. Download and install IPAMincho font.
        2. Compile and launch the attached sample code, Outline.java.
        3. Mark "Print to File" checkbox
        4. Print
        5. Check out.ps file

          Attachments

          1. LandscapePrintTest.java
            1.0 kB
          2. LandscapePrintTest.java
            1.0 kB
          3. LandscapePrintTest.pdf
            2 kB
          4. out.ps
            88 kB
          5. Outline.java
            2 kB

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: