Text: incorrect font rendering

XMLWordPrintable

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

      Win7/JDK6/b36/prism

      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);
              }
          }
      }

        1. Fonts_b36_magn.png
          0.3 kB
          Oleg Barbashov
        2. Fonts_b36.png
          5 kB
          Oleg Barbashov

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

              Created:
              Updated:
              Resolved:
              Imported: