JDK-7076461 : OTF/CID font top-dict not parsed properly by T2K
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2011-08-08
  • Updated: 2016-03-18
  • Resolved: 2016-03-18
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.
Other
tbd_majorResolved
Related Reports
Duplicate :  
Duplicate :  
Description
The closed rasteriser (T2K) isn't parsing the OTF/CFF topdict syntax for
supporting CID fonts, ie where there are private dictionaries.
This manifested as a problem correctly rendering an OTF font on Mac OS X.
It turned out that the glyphs were rendered incorrectly because needed subroutines
for rendering a number of glyphs were not found since the private dictionaries
had not been read. 
In addition it appears that the function for reading BCD encoded values
(as per CFF Spec and looked at section 4 "Dict Data"'s
description of binary encoded decimal numbers) needs some work.

Also it was noted that some metrics heuristics looked at every glyph in the font.
Excessive for CJK fonts . .

Comments
These are all approved for deferral to JDK 9 so you can update the FixVersion to state JDK 9. Kind regards, Mathias
29-08-2013

These are all approved for deferral to JDK 9 so you can update the FixVersion to state JDK 9. Kind regards, Mathias
29-08-2013

These are all approved for deferral to JDK 9 so you can update the FixVersion to state JDK 9. Kind regards, Mathias
29-08-2013

Converted "8-client-defer-candidate" label to "8-defer-request" by SQE' OK.
15-08-2013

*This is anti-deferral criteria list*: - P2 -------------- Engineering's Criteria ------------------------------------- - tck-red labeled - conformance labeled - P3 regressions reported/labeled against jdk8 - findbugs, parfait, eht labeled bugs - CAP <1 year reported - netbeans <1 year reported Victor ----------------- SQE's OK --------------------------------- Yes, we are ok with that thanks, Mikhail
15-08-2013

EVALUATION I am not sure how much is entailed in fixing this, but it at least includes reading the top dict properly, and all of the sub-dicts and then making sure that each glyph is properly set up to use the right local dict.
08-08-2011