RFR: 8202836 : [macosx] test java/awt/Graphics/TextAAHintsTest.java fails [v3]
Alexey Ivanov
aivanov at openjdk.java.net
Tue Feb 8 20:47:11 UTC 2022
On Tue, 8 Feb 2022 20:36:31 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
> The second line with “This text should be solid black” that's rendered with `VALUE_TEXT_ANTIALIAS_GASP` isn't black for me, it uses gray AA. However, it remains black for `BufferedImage` case.
It depends on the **uiScale**. The second "black" remains rendered without antialiasing applied at the scales of 100% and 125%; at the scales of 150% and above, it's rendered with grayscale antialiasing.
This should be clarified or dropped from the test. The spec for `VALUE_TEXT_ANTIALIAS_GASP` says that either behaviour is fine and it also depends on the specific font used.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7275
More information about the client-libs-dev
mailing list