JDK-2172260 : Certain fonts are not correctly soft wrapped when using JTextComponent.print()
  • Type: Backport
  • Backport of: JDK-6760148
  • Component: client-libs
  • Sub-Component: javax.swing
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2009-01-28
  • Updated: 2011-05-17
  • Resolved: 2011-05-17
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 6 JDK 7
6u14Fixed 7 b134Fixed
Comments
EVALUATION The last fix 6857057 of the chain of fixes replaced a correct fix by a not "right" fix from the technical point of view. We discussed the problem with Peter and decided to return a valid fix in jdk7. The test GlyphView2021 in api/javax_swing/text/GlyphView/index.html#Methods tests should be rewritten.
13-12-2010

EVALUATION The fix of CR 6760148 is here: http://sa.sfbay.sun.com/projects/swing_data/6u14/6760148.0/. It produces three regressions: 1. CR 6818231 (http://sa.sfbay.sun.com/projects/swing_data/6u14/6818231.0/) and two duplicates (6821384 and 6822086) 2. CR 6832120 (http://sa.sfbay.sun.com/projects/swing_data/6u15/6832120.0/) 3. CR 6857057 (http://sa.sfbay.sun.com/projects/swing_data/6u14-rev/6857057.0/) and four duplicates (6828938, 6872539, 6872943 and 6945177) It's easy to see that the fix of the last regression (CR 6857057) reverts ALL changes in the Utilities.java class. The fix of CR 6857057 is integrated into jdk7, therefore we should forwardport only one test: test/javax/swing/text/Utilities/bug6760148.java (see CR 6760148)
06-12-2010