-
Bug
-
Resolution: Fixed
-
P4
-
None
-
8
TextRun.length never set
fix:
dhcp-santaclara22-2fl-west-10-132-185-147:rt-closed felipe$ hg diff
diff -r a32550076f48 javafx-font/src/com/sun/javafx/text/TextRun.java
--- a/javafx-font/src/com/sun/javafx/text/TextRun.java Tue Nov 27 10:45:29 2012 -0800
+++ b/javafx-font/src/com/sun/javafx/text/TextRun.java Tue Nov 27 16:12:14 2012 -0800
@@ -213,7 +213,7 @@
width = bounds.getWidth() * length;
ascent = bounds.getMinY();
descent = bounds.getHeight() + ascent;
- length = length;
+ this.length = length;
flags |= FLAGS_EMBEDDED;
}
fix:
dhcp-santaclara22-2fl-west-10-132-185-147:rt-closed felipe$ hg diff
diff -r a32550076f48 javafx-font/src/com/sun/javafx/text/TextRun.java
--- a/javafx-font/src/com/sun/javafx/text/TextRun.java Tue Nov 27 10:45:29 2012 -0800
+++ b/javafx-font/src/com/sun/javafx/text/TextRun.java Tue Nov 27 16:12:14 2012 -0800
@@ -213,7 +213,7 @@
width = bounds.getWidth() * length;
ascent = bounds.getMinY();
descent = bounds.getHeight() + ascent;
- length = length;
+ this.length = length;
flags |= FLAGS_EMBEDDED;
}