Ideographic characters aren't stretched by AffineTransform.scale(2, 1)

XMLWordPrintable

        If you apply an affine transform to a font, for example AffineTransform.scale(2, 1), the characters aren't horizontally stretched in JDK 11 and above. It works in correctly in previous versions of Java.

        JDK10 or earlier: Characters are stretched horizontally by the specified scale.
        JDK11 or later: Spacing between characters is increased instead of stretching the characters horizontally.

          1. Graph.java
            1.0 kB
          2. 10 vs 11.png
            10 vs 11.png
            5 kB
          3. ScaledFont.java
            6 kB
          4. 11-japanese.png
            11-japanese.png
            23 kB

              Assignee:
              Alexey Ivanov
              Reporter:
              Shadow Bug
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: