<AWT Dev> RFR: 8255387: Japanese characters were printed upside down on AIX

Toshio Nakamura tnakamura at openjdk.java.net
Mon Nov 16 13:15:14 UTC 2020


Hi,

Could you review this fix? Under some special conditions, non-English characters were printed upside down.

At printing with raster image, the image was generated from bottom to top. So, each characters should also be drawn as vertical mirrored. However, freetype doesn't support to transform it if the font is using embedded bitmap and non-English. As the result, these Japanese characters were printed as upside down.

In this case, freetype should be prevented to use embedded bitmap.

-------------

Commit messages:
 - 8255387: Japanese characters were printed upside down on AIX
 - 8255387: Japanese characters were printed upside down on AIX

Changes: https://git.openjdk.java.net/jdk/pull/1218/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1218&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8255387
  Stats: 120 lines in 2 files changed: 118 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1218.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1218/head:pull/1218

PR: https://git.openjdk.java.net/jdk/pull/1218


More information about the awt-dev mailing list