JDK-8140308 : Unable to display EUDC fonts in 8u60
Type:Bug
Component:client-libs
Sub-Component:2d
Affected Version:8u60
Priority:P2
Status:Closed
Resolution:Duplicate
OS:windows
Submitted:2015-10-22
Updated:2016-09-20
Resolved:2015-12-10
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.
On Windows, EUDC fonts are not displayed since 8u60.
Comments
When a EUDC font is configured on Windows, sun.font.FontFamily.setFont() is called twice for each family with the "standard" composite fonts. On the second call, the EUDC font file has been added into the last slot. But with the new logic (added in JDK-8064833), closerWeight() returns false because the weight is the same (not closer). So the second call to setFont() that would normally result in adding the EUCD characters to each composite font ends up becoming a noop, thus breaking EUDC support.
25-10-2015
Change in behavior appears to be caused by fix for 8064833