hg: openjfx/8/controls/rt: Fixed RT-23458: Improve ellipsis performance

hang.vo at oracle.com hang.vo at oracle.com
Mon Sep 10 10:48:16 PDT 2012

Changeset: 35e0d48b13fd
Author:    leifs
Date:      2012-09-10 10:33 -0700
URL:       http://hg.openjdk.java.net/openjfx/8/controls/rt/rev/35e0d48b13fd

Fixed RT-23458: Improve ellipsis performance
Use a faster algorithm for the most common case where truncation happens at the end, i.e. for ELLIPSIS and CLIP, but not for other cases such as WORD_ELLIPSIS, etc.
This will all have to be revisited after support is added for bidi and RTL control orientation.

! javafx-ui-controls/src/com/sun/javafx/scene/control/skin/Utils.java

More information about the openjfx-dev mailing list