<Swing Dev> RFR: 8256019: JLabel HTML text does not support translucent text colors
Victor Dyakov
vdyakov at openjdk.java.net
Tue Dec 8 16:24:52 UTC 2020
On Wed, 2 Dec 2020 10:19:18 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> Issue is a JLabel with a translucent foreground color properly renders plain text, but with HTML text, the alpha component is discarded and the text is rendered using an opaque color.
>> As per https://www.w3schools.com/cssref/func_rgba.asp, CSS supports rgba() to support alpha and render translucent text color
>> but support for rgba() is not present in JDK html text rendering.
>>
>> Added support for rgba() to render translucent text color.
>
> any further comments?
@kizune please review
-------------
PR: https://git.openjdk.java.net/jdk/pull/1158
More information about the swing-dev
mailing list