Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8113794

Text: incorrect font rendering

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.0
    • Component/s: javafx
    • Labels:
    • Environment:

      Win7/JDK6/b36/prism

      Description

      Sample to reproduce:

      import javafx.application.Application;
      import javafx.scene.Scene;
      import javafx.scene.layout.VBox;
      import javafx.scene.text.Text;
      import javafx.stage.Stage;

      public class Main extends Application {

          VBox root;

          @Override
          public void start(Stage stage) {
              stage.setTitle(this.getClass().getSimpleName());
              stage.setScene(new AppScene());
              stage.setVisible(true);
          }

          public static void main(String[] args) {
              launch(Main.class, args);
          }

          public class AppScene extends Scene {
              public AppScene() {
                  super(root = new VBox());

                  Text text1 = new Text(" Nodes trev ttat");
                  Text text2 = new Text("Nodes trev ttat");

                  root.getChildren().add(text1);
                  root.getChildren().add(text2);
              }
          }
      }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                prr Philip Race
                Reporter:
                ogb Oleg Barbashov (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: