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

Algorithmic Italic font leans opposite angle in Printing

XMLWordPrintable

    • 2d
    • b26
    • x86_64
    • linux

        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

          1. LandscapePrintTest.java
            1.0 kB
            Dmitry Batrak
          2. LandscapePrintTest.java
            1.0 kB
            Dmitry Batrak
          3. LandscapePrintTest.pdf
            2 kB
            Dmitry Batrak
          4. out.ps
            88 kB
            Toshio Nakamura
          5. Outline.java
            2 kB
            Toshio Nakamura

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

                Created:
                Updated:
                Resolved: