What's wrong with Java FX's bold handling?

Viewed 512

Getting a bold label in JavaFX should be as simple as:

<Label text="Some bold text" style='-fx-font-weight: bold'/>

but it seems it is not.

Looking thru some Q&A in stackoverflow i found:

which show that people get mixed mileage. There are a few thousand views on most of these questions but only a few upvotes and comments with mixed results. In some contexts things seem to run fine in others not at all. Unfortunately i am on the "not at all" side on my Mac OS High Sierra with

java version "1.8.0_152"

So i wonder what the reason is that things do not work "out of the box" and whether there is a valid platform independent work-around or we just have to put up with this unhappy situation.

1 Answers
Related