[OpenJDK 2D-Dev] RFR: 8255387: Japanese characters were printed upside down on AIX [v4]

Sergey Bylokhov serb at openjdk.java.net
Wed Dec 9 09:19:40 UTC 2020


On Mon, 7 Dec 2020 07:32:30 GMT, Toshio Nakamura <tnakamura at openjdk.org> wrote:

>> 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.
>
> Toshio Nakamura has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Revise the test to compare center of gravity

An updated test works fine.

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

Marked as reviewed by serb (Reviewer).

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


More information about the 2d-dev mailing list