RFR: 8360136: RFE: Add TextAttributes for OpenType font figure style features [v3]
Nikita Gubarkov
ngubarkov at openjdk.org
Mon Jul 14 13:30:44 UTC 2025
On Sat, 12 Jul 2025 08:21:23 GMT, Valery Semenchuk <duke at openjdk.org> wrote:
>> Introducing to API constants, and implementation for controlling Figure Styles
>>
>> Target font: *Inter*
>>
>> Example screenshot
>>
>> 
>
> Valery Semenchuk has updated the pull request incrementally with one additional commit since the last revision:
>
> fix wrong import reformat
Given that this needs to go through specification review anyway, I suggest to consider the more general solution with passing arbitrary OpenType features instead of a few more attributes. This would definitely be beneficial for other AWT users.
We have similar functionality implemented in JBR after requests of JetBrains users, wanting to customize their font appearance: https://github.com/JetBrains/JetBrainsRuntime/commit/a2900b0bd998fc788f7b34fa9cf04493e21ad50f
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26144#issuecomment-3069621364
More information about the client-libs-dev
mailing list