Trying to find what fixed a TextFlow bug between 8 and 9
Tom Schindl
tom.schindl at bestsolution.at
Wed Jul 18 13:02:23 UTC 2018
Hi,
I'm trying to find the change that was made so that the following
snippet renders the text no matter if TextFlow wraps the line or not in
the same way (which is broken in FX8)
> package fxbugs;
>
> import javafx.application.Application;
> import javafx.scene.Scene;
> import javafx.scene.layout.VBox;
> import javafx.scene.text.Text;
> import javafx.scene.text.TextFlow;
> import javafx.stage.Stage;
>
> public class TextRenderBug extends Application {
>
> @Override
> public void start(Stage primaryStage) throws Exception {
> VBox box = new VBox();
>
> Text t1 = new Text("1234");
> Text t2 = new Text(" - A. Ackermann Bla Bla Bla");
> TextFlow t = new TextFlow(t1,t2);
> box.getChildren().add(t);
>
> Scene s = new Scene(box, 800, 600);
> primaryStage.setScene(s);
> primaryStage.show();
> }
>
> public static void main(String[] args) {
> launch(args);
> }
> }
I've looked through the changes of com.sun.javafx.text but nothing
really looked like it might have fixed the issue.
Tom
More information about the openjfx-dev
mailing list