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

Algorithmic Italic font leans opposite angle in Printing

    XMLWordPrintable

Details

    • 2d
    • b26
    • x86_64
    • 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. out.ps
            88 kB
          2. Outline.java
            2 kB
          3. LandscapePrintTest.java
            1.0 kB
          4. LandscapePrintTest.pdf
            2 kB
          5. LandscapePrintTest.java
            1.0 kB

          Issue Links

            Activity

              People

                dbatrak Dmitry Batrak
                tnakamura Toshio Nakamura
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: