JDK-7043106 : Regression: Some chinese punctuation corrupted with simsun.ttc
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-05-09
  • Updated: 2011-07-05
  • Resolved: 2011-06-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 7
7 b145Fixed
Related Reports
Relates :  
Description
SYNOPSIS
--------
Regression: Some chinese punctuation corrupted with simsun.ttc

OPERATING SYSTEM
----------------
Windows

FULL JDK VERSION
----------------
JDK 7 - tested with b140
Regression occurred between b39 and b47
Not reproducible with Java 6 (tested with 6u24)

REPRODUCTION INSTRUCTIONS
-------------------------
1. Launch Font2DTest.jar present in demo\jfc\Font2DTest
2. Select Simsun from Font drop down box
3. Select size as 24
4. Select User Text from Text to use drop down box
5. Enter following value "\u2299\uFF05\uFF5B" in text and click update
6. Observe corrupted output
7. To see the correct output, change the font Size as 18 or less and click enter

Comments
EVALUATION Yes, its in the scan conversion. An off curve point causes classification of the curve as bezier, when its quadratic. Need to restore that logic.
23-05-2011

EVALUATION Its not just SimSun. Its also SimSun-ExtB, SimHei, NSimSun, KaiTi, FangSong. Also its many, many glyphs, at all sorts of sizes. For example look at SimHei in sizes from 12pt through 100 .. The problem is generally manifesting only in B&W although its also in LCD_V* modes. At size=101 its OK because then we render as filled shapes. So the problem seems likely to be in the scan conversion.
20-05-2011

EVALUATION Starts in JDK 7 b43. There were some rasteriser fixes then. Notably 4356282: JDK should support OpenType/CFF fonts
09-05-2011