RFR: 8332416: Add more font selection options to Font2DTest [v2]

Tejesh R tr at openjdk.org
Tue May 21 07:25:06 UTC 2024


On Thu, 16 May 2024 19:16:26 GMT, Phil Race <prr at openjdk.org> wrote:

>> Enhance Font2DTest as follows
>> 
>> - Add main menu Radio Button options so that you select the font to use as either
>> - (1) Font Family  + Style (as now)
>> - (2) Font Family + Menu of all members of the Family, replacing the Style
>> - (3) List of all fontnames - which can still be adjusted by Style if you want.
>> The default is (1) so nothing looks different except that I updated the UI to use Nimbus instead of Metal.
>> 
>> There's new code to gather these ways of referencing the fonts.
>> Also changes were needed for the "Save/Load" options to include the new UI state and font settings.
>
> Phil Race has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8332416

I have an observation, not sure if it's supposed to be this way or not. The Style/SubFamily type selected in other mentioned type (Select font using Family and Style/SubFamily/Full Name) has an impact on each other type. For example, if we select bold as Style and then in type 2 we select SubFamily as .plain then it'll be bold+.plain right? Or its supposed to be only .plain in type 2?

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

PR Review: https://git.openjdk.org/jdk/pull/19273#pullrequestreview-2067749696


More information about the client-libs-dev mailing list