#47 java.lang.RuntimeException: java.lang.NegativeArraySizeException at at org.pdfclown.documents.contents.fonts.CffParser.load(CffParser.java:703)

0.1.2.1
closed-out-of-date
2
2015-04-14
2013-04-25
sahaja
No

Exception in thread "main" java.lang.RuntimeException: java.lang.NegativeArraySizeException
at org.pdfclown.documents.contents.fonts.CffParser.load(CffParser.java:703)
at org.pdfclown.documents.contents.fonts.CffParser.<init>(CffParser.java:640)
at org.pdfclown.documents.contents.fonts.Type1Font.getNativeEncoding(Type1Font.java:104)
at org.pdfclown.documents.contents.fonts.Type1Font.loadEncoding(Type1Font.java:151)
at org.pdfclown.documents.contents.fonts.SimpleFont.onLoad(SimpleFont.java:118)
at org.pdfclown.documents.contents.fonts.Font.load(Font.java:738)
at org.pdfclown.documents.contents.fonts.Font.<init>(Font.java:351)
at org.pdfclown.documents.contents.fonts.SimpleFont.<init>(SimpleFont.java:62)
at org.pdfclown.documents.contents.fonts.Type1Font.<init>(Type1Font.java:75)
at org.pdfclown.documents.contents.fonts.Font.wrap(Font.java:249)
at org.pdfclown.documents.contents.FontResources.wrap(FontResources.java:72)
at org.pdfclown.documents.contents.FontResources.wrap(FontResources.java:1)
at org.pdfclown.documents.contents.ResourceItems.get(ResourceItems.java:119)
at org.pdfclown.documents.contents.objects.SetFont.getResource(SetFont.java:119)
at org.pdfclown.documents.contents.objects.SetFont.getFont(SetFont.java:83)
at org.pdfclown.documents.contents.objects.SetFont.scan(SetFont.java:97)
at org.pdfclown.documents.contents.ContentScanner.moveNext(ContentScanner.java:1330)
at org.pdfclown.documents.contents.ContentScanner$TextWrapper.extract(ContentScanner.java:811)
at org.pdfclown.documents.contents.ContentScanner$TextWrapper.<init>(ContentScanner.java:777)
at org.pdfclown.documents.contents.ContentScanner$TextWrapper.<init>(ContentScanner.java:770)
at org.pdfclown.documents.contents.ContentScanner$GraphicsObjectWrapper.get(ContentScanner.java:690)
at org.pdfclown.documents.contents.ContentScanner$GraphicsObjectWrapper.access$0(ContentScanner.java:682)
at org.pdfclown.documents.contents.ContentScanner.getCurrentWrapper(ContentScanner.java:1154)
at org.pdfclown.tools.TextExtractor.extract(TextExtractor.java:633)
at org.pdfclown.tools.TextExtractor.extract(TextExtractor.java:296)
at PDFTextHighLighter.highlight(PDFTextHighLighter.java:407)
at PDFViewer.showTopicSepcificHelp(PDFViewer.java:991)
at PDFViewer.main(PDFViewer.java:1039)

1 Attachments

Discussion

  • Stefano Chizzolini

    Currently (PDF Clown 0.1.2.1) text extraction succeeds on the attached file.

     
  • Stefano Chizzolini

    • status: open --> closed-out-of-date
    • Group: v1.0_(example) --> 0.1.2.1
    • Priority: 1 --> 2
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks