When setting the font via a CSS stylesheet, the font family seems to be ignored and defaulted to System.
The attached test case includes a Label and a Text. The Label's font is set via CSS and the Text's font
is set via Java. Both fonts should be identical. However, when running the test,
the Label's font is set to "System", while the Text's font is "Veranda".
====
CSS Font: Font[name=System Bold Italic, family=System, style=Bold Italic, size=24.0]
JFX Font: Font[name=Verdana Bold Italic, family=Verdana, style=Bold Italic, size=24.0]
The attached test case includes a Label and a Text. The Label's font is set via CSS and the Text's font
is set via Java. Both fonts should be identical. However, when running the test,
the Label's font is set to "System", while the Text's font is "Veranda".
====
CSS Font: Font[name=System Bold Italic, family=System, style=Bold Italic, size=24.0]
JFX Font: Font[name=Verdana Bold Italic, family=Verdana, style=Bold Italic, size=24.0]