JDK-8100850 : NGText should clip single line text to avoid excessive rendering
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: fx2.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2011-06-17
  • Updated: 2015-06-16
  • Resolved: 2012-11-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Fixed
Related Reports
Blocks :  
Blocks :  
Blocks :  
Description
When rendering a very long text NGText (and friends) may spend a lot of time rasterizing what won't be visible on the screen (f.e. in TextBox).
Particular expensive methods are: openpisces.Renderer.produceAlphas() and openpisces.Renderer$ScanlineIterator.next().

Comments
fixed in http://jfxsrc.us.oracle.com/javafx/8.0/scrum/graphics/rt-closed/rev/abb08b8de8fe NGNode respects node clipping. In graphics (GlyphCache), the clipping is respected as long the transform does not include any rotation or scale.
14-11-2012