You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by rw...@apache.org on 2017/07/07 15:30:44 UTC
svn commit: r1801182 -
/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextPaneSkinTextNodeView.java
Author: rwhitcomb
Date: Fri Jul 7 15:30:44 2017
New Revision: 1801182
URL: http://svn.apache.org/viewvc?rev=1801182&view=rev
Log:
Remove incorrect comment in TextPaneSkinTextNodeView.
Modified:
pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextPaneSkinTextNodeView.java
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextPaneSkinTextNodeView.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextPaneSkinTextNodeView.java?rev=1801182&r1=1801181&r2=1801182&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextPaneSkinTextNodeView.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextPaneSkinTextNodeView.java Fri Jul 7 15:30:44 2017
@@ -92,9 +92,6 @@ class TextPaneSkinTextNodeView extends T
* being displayed. This could be a combination of composed and committed
* text, so we need a {@link TextLayout} which is derived from the combined
* attributed text.
- * <p> With {@link TextLayout} this is kind of tricky, so currently
- * we are calculating the average of the "bounds" and the "pixel bounds"
- * (which we see can differ by 1/2 character width sometimes).
*
* @param textLayout The text to measure.
* @return The dimensions of the text in pixel amounts, or 0,0 if