Are more font variants in the pipeline?
Phil Race
philip.race at oracle.com
Fri Aug 17 08:10:08 PDT 2012
Support for expressing weights and widths is not in the platform API.
It needs to be added there first. But you can always use a full font name.
-phil.
On 8/17/12 7:50 AM, Richard Bair wrote:
> Are you able to get the font in Extrabold from within Java code? That is, do you know the problem is CSS or is it in the platform itself?
>
> Thanks
> Richard
>
> On Aug 17, 2012, at 6:48 AM, Randahl Fink Isaksen wrote:
>
>> I noticed that the current CSS implementation only supports regular fonts, italic fonts, and bold fonts.
>>
>> Many modern fonts come in more variants – Open Sans, for instance, comes in variants
>> Light, Regular, Italic, Light Italic, Bold, Extrabold, Semibold, Bold Italic, Extrabold Italic, and Semibold Italic.
>>
>> Have I overlooked something or am I right that it is impossible to style a JavaFX app using CSS and get one of these variants, say, Open Sans Semibold?
>>
>> Randahl
>>
>>
More information about the openjfx-dev
mailing list