[jira] [Commented] (PDFBOX-4336) "CMap is invalid" exception thrown

2018-10-10 Thread Nico Prenzel (JIRA)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16644583#comment-16644583
 ] 

Nico Prenzel commented on PDFBOX-4336:
--

Thanks for the super fast fix!

> "CMap is invalid" exception thrown
> --
>
> Key: PDFBOX-4336
> URL: https://issues.apache.org/jira/browse/PDFBOX-4336
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.11, 2.0.12
>Reporter: Nico Prenzel
>Priority: Minor
> Fix For: 2.0.13, 3.0.0 PDFBox
>
> Attachments: test.pdf
>
>
> The follwoing error is thrown within the preview generation. With Adobe 
> Reader or Foxit the file is able to open and correctly shown.
>  
> CMap is invalid
> org.apache.fontbox.cmap.CMap readCode: 123
> org.apache.pdfbox.pdmodel.font.PDType0Font readCode: 521
> org.apache.pdfbox.contentstream.PDFStreamEngine showText: 699
> org.apache.pdfbox.contentstream.PDFStreamEngine showTextString: 595
> org.apache.pdfbox.contentstream.operator.text.ShowText process: 55
> org.apache.pdfbox.contentstream.PDFStreamEngine processOperator: 848
> org.apache.pdfbox.contentstream.PDFStreamEngine processStreamOperators: 503
> org.apache.pdfbox.contentstream.PDFStreamEngine processStream: 477
> org.apache.pdfbox.contentstream.PDFStreamEngine processPage: 150
> org.apache.pdfbox.rendering.PageDrawer drawPage: 254
> org.apache.pdfbox.rendering.PDFRenderer renderImage: 245
> org.apache.pdfbox.rendering.PDFRenderer renderImageWithDPI: 179
> vlh.Tools.PDF.PDFBoxUtil generateImage: 863
> vlh.notes.BSTArchive.File.pdf.PdfFileExtend generatePreviewImage: 170



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4336) "CMap is invalid" exception thrown

2018-10-09 Thread Tilman Hausherr (JIRA)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16643980#comment-16643980
 ] 

Tilman Hausherr commented on PDFBOX-4336:
-

Now rendering works and you'll get this log message:

 

Warning  [CMap] Invalid character code sequence 0xE0 (0340) 0x2A (0052) in CMap 
90ms-RKSJ-H

> "CMap is invalid" exception thrown
> --
>
> Key: PDFBOX-4336
> URL: https://issues.apache.org/jira/browse/PDFBOX-4336
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.11, 2.0.12
>Reporter: Nico Prenzel
>Priority: Minor
> Fix For: 2.0.13, 3.0.0 PDFBox
>
> Attachments: test.pdf
>
>
> The follwoing error is thrown within the preview generation. With Adobe 
> Reader or Foxit the file is able to open and correctly shown.
>  
> CMap is invalid
> org.apache.fontbox.cmap.CMap readCode: 123
> org.apache.pdfbox.pdmodel.font.PDType0Font readCode: 521
> org.apache.pdfbox.contentstream.PDFStreamEngine showText: 699
> org.apache.pdfbox.contentstream.PDFStreamEngine showTextString: 595
> org.apache.pdfbox.contentstream.operator.text.ShowText process: 55
> org.apache.pdfbox.contentstream.PDFStreamEngine processOperator: 848
> org.apache.pdfbox.contentstream.PDFStreamEngine processStreamOperators: 503
> org.apache.pdfbox.contentstream.PDFStreamEngine processStream: 477
> org.apache.pdfbox.contentstream.PDFStreamEngine processPage: 150
> org.apache.pdfbox.rendering.PageDrawer drawPage: 254
> org.apache.pdfbox.rendering.PDFRenderer renderImage: 245
> org.apache.pdfbox.rendering.PDFRenderer renderImageWithDPI: 179
> vlh.Tools.PDF.PDFBoxUtil generateImage: 863
> vlh.notes.BSTArchive.File.pdf.PdfFileExtend generatePreviewImage: 170



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4336) "CMap is invalid" exception thrown

2018-10-09 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16643973#comment-16643973
 ] 

ASF subversion and git services commented on PDFBOX-4336:
-

Commit 1843331 from til...@apache.org in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1843331 ]

PDFBOX-4336: be lenient ob incorrect character code sequences

> "CMap is invalid" exception thrown
> --
>
> Key: PDFBOX-4336
> URL: https://issues.apache.org/jira/browse/PDFBOX-4336
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.11, 2.0.12
>Reporter: Nico Prenzel
>Priority: Minor
> Fix For: 2.0.13, 3.0.0 PDFBox
>
> Attachments: test.pdf
>
>
> The follwoing error is thrown within the preview generation. With Adobe 
> Reader or Foxit the file is able to open and correctly shown.
>  
> CMap is invalid
> org.apache.fontbox.cmap.CMap readCode: 123
> org.apache.pdfbox.pdmodel.font.PDType0Font readCode: 521
> org.apache.pdfbox.contentstream.PDFStreamEngine showText: 699
> org.apache.pdfbox.contentstream.PDFStreamEngine showTextString: 595
> org.apache.pdfbox.contentstream.operator.text.ShowText process: 55
> org.apache.pdfbox.contentstream.PDFStreamEngine processOperator: 848
> org.apache.pdfbox.contentstream.PDFStreamEngine processStreamOperators: 503
> org.apache.pdfbox.contentstream.PDFStreamEngine processStream: 477
> org.apache.pdfbox.contentstream.PDFStreamEngine processPage: 150
> org.apache.pdfbox.rendering.PageDrawer drawPage: 254
> org.apache.pdfbox.rendering.PDFRenderer renderImage: 245
> org.apache.pdfbox.rendering.PDFRenderer renderImageWithDPI: 179
> vlh.Tools.PDF.PDFBoxUtil generateImage: 863
> vlh.notes.BSTArchive.File.pdf.PdfFileExtend generatePreviewImage: 170



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4336) "CMap is invalid" exception thrown

2018-10-09 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16643974#comment-16643974
 ] 

ASF subversion and git services commented on PDFBOX-4336:
-

Commit 1843332 from til...@apache.org in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1843332 ]

PDFBOX-4336: be lenient ob incorrect character code sequences

> "CMap is invalid" exception thrown
> --
>
> Key: PDFBOX-4336
> URL: https://issues.apache.org/jira/browse/PDFBOX-4336
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.11, 2.0.12
>Reporter: Nico Prenzel
>Priority: Minor
> Fix For: 2.0.13, 3.0.0 PDFBox
>
> Attachments: test.pdf
>
>
> The follwoing error is thrown within the preview generation. With Adobe 
> Reader or Foxit the file is able to open and correctly shown.
>  
> CMap is invalid
> org.apache.fontbox.cmap.CMap readCode: 123
> org.apache.pdfbox.pdmodel.font.PDType0Font readCode: 521
> org.apache.pdfbox.contentstream.PDFStreamEngine showText: 699
> org.apache.pdfbox.contentstream.PDFStreamEngine showTextString: 595
> org.apache.pdfbox.contentstream.operator.text.ShowText process: 55
> org.apache.pdfbox.contentstream.PDFStreamEngine processOperator: 848
> org.apache.pdfbox.contentstream.PDFStreamEngine processStreamOperators: 503
> org.apache.pdfbox.contentstream.PDFStreamEngine processStream: 477
> org.apache.pdfbox.contentstream.PDFStreamEngine processPage: 150
> org.apache.pdfbox.rendering.PageDrawer drawPage: 254
> org.apache.pdfbox.rendering.PDFRenderer renderImage: 245
> org.apache.pdfbox.rendering.PDFRenderer renderImageWithDPI: 179
> vlh.Tools.PDF.PDFBoxUtil generateImage: 863
> vlh.notes.BSTArchive.File.pdf.PdfFileExtend generatePreviewImage: 170



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4336) "CMap is invalid" exception thrown

2018-10-09 Thread Tilman Hausherr (JIRA)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16643775#comment-16643775
 ] 

Tilman Hausherr commented on PDFBOX-4336:
-

The PDF has a code that isn't part of the CMap and the exception message is not 
helpful. We can be more lenient and just return 0.

> "CMap is invalid" exception thrown
> --
>
> Key: PDFBOX-4336
> URL: https://issues.apache.org/jira/browse/PDFBOX-4336
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.11, 2.0.12
>Reporter: Nico Prenzel
>Priority: Minor
> Fix For: 2.0.13, 3.0.0 PDFBox
>
> Attachments: test.pdf
>
>
> The follwoing error is thrown within the preview generation. With Adobe 
> Reader or Foxit the file is able to open and correctly shown.
>  
> CMap is invalid
> org.apache.fontbox.cmap.CMap readCode: 123
> org.apache.pdfbox.pdmodel.font.PDType0Font readCode: 521
> org.apache.pdfbox.contentstream.PDFStreamEngine showText: 699
> org.apache.pdfbox.contentstream.PDFStreamEngine showTextString: 595
> org.apache.pdfbox.contentstream.operator.text.ShowText process: 55
> org.apache.pdfbox.contentstream.PDFStreamEngine processOperator: 848
> org.apache.pdfbox.contentstream.PDFStreamEngine processStreamOperators: 503
> org.apache.pdfbox.contentstream.PDFStreamEngine processStream: 477
> org.apache.pdfbox.contentstream.PDFStreamEngine processPage: 150
> org.apache.pdfbox.rendering.PageDrawer drawPage: 254
> org.apache.pdfbox.rendering.PDFRenderer renderImage: 245
> org.apache.pdfbox.rendering.PDFRenderer renderImageWithDPI: 179
> vlh.Tools.PDF.PDFBoxUtil generateImage: 863
> vlh.notes.BSTArchive.File.pdf.PdfFileExtend generatePreviewImage: 170



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org