On Tue, 8 Feb 2022 20:36:31 GMT, Alexey Ivanov <aiva...@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

Reply via email to