Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-3754

Skip << >> in type1 font parser

    XMLWordPrintableJSON

Details

    Description

      The attached file contains this in the ASCII parts of its type1 fonts:

      %!FontType1-1.0:  
      13 dict begin
      /FontInfo 2 dict dup begin
      /GlyphNames2HostCode <<
      >> def
      /GlyphNames2Unicode <<
      >> def
      end readonly def
      

      PDFBox and (probably PDF.js) choke on the empty postscript dictionary. So I'll add parsing of empty dictionaries.

      Attachments

        1. PDFJS-7769.pdf
          445 kB
          Tilman Hausherr

        Activity

          People

            tilman Tilman Hausherr
            tilman Tilman Hausherr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: