To fix RT-13544, the default font on the Font class is now SansSerif.
Several LabelSkinLayoutTest layout positioning tests began failing with "got 7.0 expected 6.0" type errors and
a simple call to Label.getFont() showed that the default font was now SansSerif.
Whether this is in Label, or CSS is unclear but per Jasper Font.getDefault() should have been over-ridden.
The tests were fixed up by hardwiring the font being used but a test like that should not fail if a different font
is used. So I think that someone also ought to take a close look at that.
Several LabelSkinLayoutTest layout positioning tests began failing with "got 7.0 expected 6.0" type errors and
a simple call to Label.getFont() showed that the default font was now SansSerif.
Whether this is in Label, or CSS is unclear but per Jasper Font.getDefault() should have been over-ridden.
The tests were fixed up by hardwiring the font being used but a test like that should not fail if a different font
is used. So I think that someone also ought to take a close look at that.
- relates to
-
JDK-8113014 MenuItem.setStyle("-fx-font:..."); doesn't work
- Resolved