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

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. ScaledFont.java
            6 kB
          2. Graph.java
            1.0 kB
          3. 11-japanese.png
            11-japanese.png
            23 kB
          4. 10 vs 11.png
            10 vs 11.png
            5 kB

              aivanov Alexey Ivanov
              shadowbug Shadow Bug
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: