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

Tilman Hausherr edited comment on PDFBOX-4923 at 7/26/20, 11:18 AM:
--------------------------------------------------------------------

I tested this on the digitalcorpora files, I have 17 cases and I am at file 
210220 so this means we could expect about 80 cases on all files. The content 
of the arrays is always [0] and [-1, -1] because of this line
{code:java}
1 begincodespacerange <00> <ffff> endcodespacerange {code}


was (Author: tilman):
I tested this on the digitalcorpora files, I have 17 cases and I am at file 
210220 so this means we could expect about 80 cases on all files. The content 
of the arrays is always [0] and [-1, -1].

> IllegalArgumentException: The start and the end values must not have 
> different lengths
> --------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-4923
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4923
>             Project: PDFBox
>          Issue Type: Bug
>          Components: FontBox
>    Affects Versions: 2.0.20
>            Reporter: Tilman Hausherr
>            Priority: Major
>              Labels: regression
>             Fix For: 2.0.21, 3.0.0 PDFBox
>
>         Attachments: 016429-p13.pdf
>
>
> {noformat}
> java.lang.IllegalArgumentException: The start and the end values must not 
> have different lengths.
>     org.apache.fontbox.cmap.CodespaceRange.<init>(CodespaceRange.java:43)
>     
> org.apache.fontbox.cmap.CMapParser.parseBegincodespacerange(CMapParser.java:244)
>     org.apache.fontbox.cmap.CMapParser.parse(CMapParser.java:114)
>     org.apache.pdfbox.pdmodel.font.CMapManager.parseCMap(CMapManager.java:75)
>     org.apache.pdfbox.pdmodel.font.PDFont.readCMap(PDFont.java:218)
>     org.apache.pdfbox.pdmodel.font.PDFont.loadUnicodeCmap(PDFont.java:149)
>     org.apache.pdfbox.pdmodel.font.PDFont.<init>(PDFont.java:118)
>     org.apache.pdfbox.pdmodel.font.PDType0Font.<init>(PDType0Font.java:69)
>     
> org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:97)
>  {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to