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

Found Token[kind=NAME, text=dup] but expected begin

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: FontBox
    • Labels:

      Description

      I get the following exception on page 11 of the file of PDFBOX-2198:

      09.07.2014 21:33:33.025 ERROR [main] org.apache.pdfbox.pdmodel.font.PDType1Font:220 - Can't read the embedded Type1 font JNWZUE+TeX-cmex7
      java.io.IOException: Found Token[kind=NAME, text=dup] but expected begin
      	at org.apache.fontbox.type1.Type1Parser.read(Type1Parser.java:710)
      	at org.apache.fontbox.type1.Type1Parser.parseASCII(Type1Parser.java:99)
      	at org.apache.fontbox.type1.Type1Parser.parse(Type1Parser.java:61)
      	at org.apache.fontbox.type1.Type1Font.createWithSegments(Type1Font.java:68)
      	at org.apache.pdfbox.pdmodel.font.PDType1Font.<init>(PDType1Font.java:216)
      	at org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:56)
      	at org.apache.pdfbox.pdmodel.PDResources.getFonts(PDResources.java:206)
      

        Attachments

          Activity

            People

            • Assignee:
              jahewson John Hewson
              Reporter:
              tilman Tilman Hausherr
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: