Ensemble8 has the following code, which use to result in use of fonts from the internet:
When Ensemble8 is starting up, it uses the following code:
List<String> stylesheets = new ArrayList<>(5);
...
stylesheets.add("http://fonts.googleapis.com/css?family=Bree+Serif");
...
scene.getStylesheets().setAll(stylesheets);
And then in the CSS file, we have entries like:
.sample-page-box-title {
-fx-font-family: "Bree Serif";
-fx-font-size: 16;
-fx-text-fill: #e1731c;
}
But we don't seem to pick up the Bree Serif font any more, and we used to.
In addition, we get the following warning:
"com.sun.javafx.css.parser.CSSParser reportException
WARNING: Please report java.lang.IllegalArgumentException at:"
When Ensemble8 is starting up, it uses the following code:
List<String> stylesheets = new ArrayList<>(5);
...
stylesheets.add("http://fonts.googleapis.com/css?family=Bree+Serif");
...
scene.getStylesheets().setAll(stylesheets);
And then in the CSS file, we have entries like:
.sample-page-box-title {
-fx-font-family: "Bree Serif";
-fx-font-size: 16;
-fx-text-fill: #e1731c;
}
But we don't seem to pick up the Bree Serif font any more, and we used to.
In addition, we get the following warning:
"com.sun.javafx.css.parser.CSSParser reportException
WARNING: Please report java.lang.IllegalArgumentException at:"
- duplicates
-
JDK-8094125 CSS: font-face don't work in jnlp
-
- Closed
-
-
JDK-8123203 Ensemble8 prints a CSS warning at startup
-
- Closed
-