Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7076461

OTF/CID font top-dict not parsed properly by T2K

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • CPU:
      generic
    • OS:
      generic

      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 . .

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              prr Philip Race
              Reporter:
              prr Philip Race
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: