commit | cc883b9a002341f8af219a8fe89f1c239314da81 | [log] [tgz] |
---|---|---|
author | Raph Levien <raph@google.com> | Fri Oct 05 09:21:36 2012 -0700 |
committer | Raph Levien <raph@google.com> | Fri Oct 05 09:21:36 2012 -0700 |
tree | 8312093adb1ce112a8325268ccbee7ea2d5481df | |
parent | 8943910a8541723ff36a29a32e590a43114ab528 [diff] |
Fix android.cts.text.TextUtilsTest#testEllipsize test This fixes the CTS test regression tracked in bug 7292719, by fixing a flaw in the test. Make the textWidth computation more robust in the case where the test string could contain a kerning pair with the ellipsis. The new Roboto font update does indeed kern (r, ellipsis), which is valid. Change-Id: I12eedcc3c24496a96efd8a56bd92234ddbdcfc52