-
Bug
-
Resolution: Fixed
-
P4
-
jfx13, 8u202
-
master
-
x86_64
-
generic
In the HTMLEditor, when positioning the caret in a text and trying to set a font-family that has a number in it is not working.
Steps to reproduce :
- Run this sample :
"
import javafx.application.Application;
import static javafx.application.Application.launch;
import javafx.scene.Scene;
import javafx.scene.web.HTMLEditor;
import javafx.stage.Stage;
public class TestApp extends Application {
public static void main(String[] args) {
launch(args);
}
@Override
public void start(Stage primaryStage) throws Exception {
HTMLEditor editor = new HTMLEditor();
Scene scene = new Scene(editor);
primaryStage.setScene(scene);
primaryStage.show();
}
}
"
- Write "Hello world"
- Select the word "Hello" and apply the "Bauhaus 93" font-family
Actual behavior:
- The font-family is changed to "Bauhaus 93" in the comboBox but not applied to the text.
Expected behavior:
- The font-family "Bauhaus 93" should be applied on the text
Steps to reproduce :
- Run this sample :
"
import javafx.application.Application;
import static javafx.application.Application.launch;
import javafx.scene.Scene;
import javafx.scene.web.HTMLEditor;
import javafx.stage.Stage;
public class TestApp extends Application {
public static void main(String[] args) {
launch(args);
}
@Override
public void start(Stage primaryStage) throws Exception {
HTMLEditor editor = new HTMLEditor();
Scene scene = new Scene(editor);
primaryStage.setScene(scene);
primaryStage.show();
}
}
"
- Write "Hello world"
- Select the word "Hello" and apply the "Bauhaus 93" font-family
Actual behavior:
- The font-family is changed to "Bauhaus 93" in the comboBox but not applied to the text.
Expected behavior:
- The font-family "Bauhaus 93" should be applied on the text
- relates to
-
JDK-8230231 font-family not updated in HTMLEditor
-
- Open
-