On Fri, 11 Sep 2026 11:12:46 GMT, Prasanta Sadhukhan <[email protected]> 
wrote:

>> Test used to fail on linux in CI in older releases but with upgrade in 
>> harfbuzz and linux, with current jdk, it is not failing now in several 
>> iterations in linux and other platforms (CI test job in JBS) so 
>> deproblemlisting 
>> 
>> 
>> 
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Prasanta Sadhukhan has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   Use Dialog font

It seems text antialiasing for monospaced font creating a black coverage at 
glyph edge causing dark red pixel when drawn over red.
If I turn off antialiasing test passes for monospaced font


bg.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                    RenderingHints.VALUE_ANTIALIAS_OFF);
bg.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING,
                    RenderingHints.VALUE_TEXT_ANTIALIAS_OFF);

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

PR Comment: https://git.openjdk.org/jdk/pull/32742#issuecomment-5710050909

Reply via email to