[jira] [Commented] (PDFBOX-4064) cm operator has 7 numbers
[ https://issues.apache.org/jira/browse/PDFBOX-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16325232#comment-16325232 ] ASF subversion and git services commented on PDFBOX-4064: - Commit 1821081 from [~tilman] in branch 'pdfbox/branches/2.0' [ https://svn.apache.org/r1821081 ] PDFBOX-4064: ignore "-" in the middle of a number > cm operator has 7 numbers > - > > Key: PDFBOX-4064 > URL: https://issues.apache.org/jira/browse/PDFBOX-4064 > Project: PDFBox > Issue Type: Bug > Components: Parsing >Affects Versions: 2.0.8 > Environment: Windows 10 >Reporter: savan patel > Attachments: CM_GOT_7_NUMBERS.pdf > > > i got pdf in which one particular page there is an image which is not > rendered on the position... > i understood the problem. there is 7 numbers came before cm operator which i > think is bug... > Page 9 has an error... -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-4064) cm operator has 7 numbers
[ https://issues.apache.org/jira/browse/PDFBOX-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16325231#comment-16325231 ] ASF subversion and git services commented on PDFBOX-4064: - Commit 1821080 from [~tilman] in branch 'pdfbox/branches/1.8' [ https://svn.apache.org/r1821080 ] PDFBOX-4064: ignore "-" in the middle of a number > cm operator has 7 numbers > - > > Key: PDFBOX-4064 > URL: https://issues.apache.org/jira/browse/PDFBOX-4064 > Project: PDFBox > Issue Type: Bug > Components: Parsing >Affects Versions: 2.0.8 > Environment: Windows 10 >Reporter: savan patel > Attachments: CM_GOT_7_NUMBERS.pdf > > > i got pdf in which one particular page there is an image which is not > rendered on the position... > i understood the problem. there is 7 numbers came before cm operator which i > think is bug... > Page 9 has an error... -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-4064) cm operator has 7 numbers
[ https://issues.apache.org/jira/browse/PDFBOX-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16325230#comment-16325230 ] ASF subversion and git services commented on PDFBOX-4064: - Commit 1821079 from [~tilman] in branch 'pdfbox/trunk' [ https://svn.apache.org/r1821079 ] PDFBOX-4064: ignore "-" in the middle of a number > cm operator has 7 numbers > - > > Key: PDFBOX-4064 > URL: https://issues.apache.org/jira/browse/PDFBOX-4064 > Project: PDFBox > Issue Type: Bug > Components: Parsing >Affects Versions: 2.0.8 > Environment: Windows 10 >Reporter: savan patel > Attachments: CM_GOT_7_NUMBERS.pdf > > > i got pdf in which one particular page there is an image which is not > rendered on the position... > i understood the problem. there is 7 numbers came before cm operator which i > think is bug... > Page 9 has an error... -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-4064) cm operator has 7 numbers
[ https://issues.apache.org/jira/browse/PDFBOX-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16325210#comment-16325210 ] Tilman Hausherr commented on PDFBOX-4064: - Adobe quietly swallows most errors. Except the two files I mentioned earlier. Anyway, I just had a new idea and I'll run regression tests to see what happens. > cm operator has 7 numbers > - > > Key: PDFBOX-4064 > URL: https://issues.apache.org/jira/browse/PDFBOX-4064 > Project: PDFBox > Issue Type: Bug > Components: Parsing >Affects Versions: 2.0.8 > Environment: Windows 10 >Reporter: savan patel > Attachments: CM_GOT_7_NUMBERS.pdf > > > i got pdf in which one particular page there is an image which is not > rendered on the position... > i understood the problem. there is 7 numbers came before cm operator which i > think is bug... > Page 9 has an error... -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-4064) cm operator has 7 numbers
[ https://issues.apache.org/jira/browse/PDFBOX-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16325202#comment-16325202 ] savan patel commented on PDFBOX-4064: - It's not that Important but I was just wondering why Adobe reader does not have any problems while parsing or rendering. That's all... > cm operator has 7 numbers > - > > Key: PDFBOX-4064 > URL: https://issues.apache.org/jira/browse/PDFBOX-4064 > Project: PDFBox > Issue Type: Bug > Components: Parsing >Affects Versions: 2.0.8 > Environment: Windows 10 >Reporter: savan patel > Attachments: CM_GOT_7_NUMBERS.pdf > > > i got pdf in which one particular page there is an image which is not > rendered on the position... > i understood the problem. there is 7 numbers came before cm operator which i > think is bug... > Page 9 has an error... -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-4064) cm operator has 7 numbers
[ https://issues.apache.org/jira/browse/PDFBOX-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16325169#comment-16325169 ] Tilman Hausherr commented on PDFBOX-4064: - My change would be this change in PDFStreamParser: {code} while( Character.isDigit(c = (char) seqSource.peek()) || dotNotRead && c == '.') {code} to {code} while( Character.isDigit(c = (char) seqSource.peek()) || dotNotRead && c == '.' || c == '-') {code} PDFBOX-3703-966635-p12.pdf: Error expected floating point number actual='7267753-726774' PDFBOX-3798-APXBMVTEZIJCL7VYUN3KFSXLNETDMIKC.pdf: Error expected floating point number actual='2-9.537' So I'm reluctant to make that change as it would break the rendering of two other files. Is this file important to you / your client? Would it help if I'd just correct the problem page(s)? > cm operator has 7 numbers > - > > Key: PDFBOX-4064 > URL: https://issues.apache.org/jira/browse/PDFBOX-4064 > Project: PDFBox > Issue Type: Bug > Components: Parsing >Affects Versions: 2.0.8 > Environment: Windows 10 >Reporter: savan patel > Attachments: CM_GOT_7_NUMBERS.pdf > > > i got pdf in which one particular page there is an image which is not > rendered on the position... > i understood the problem. there is 7 numbers came before cm operator which i > think is bug... > Page 9 has an error... -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-4064) cm operator has 7 numbers
[ https://issues.apache.org/jira/browse/PDFBOX-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16324294#comment-16324294 ] Tilman Hausherr commented on PDFBOX-4064: - The raw content stream looks like this: {code} 182792.02 0 0 -205740.02 0.00-50 205740.02 cm {code} That's a bug we've seen in other google-produced PDF documents. It happens here because of a difference in parsing in the "outer" part of PDF file and in the content stream. In the first, the "\-" is passed to COSFloat constructor, in the second, it isn't, i.e. it considers the "\-" to be part of the next token. Because of that, PDFDebugger shows these 7 parameters. I tried being more lenient but it produced regressions so more investigation is needed. > cm operator has 7 numbers > - > > Key: PDFBOX-4064 > URL: https://issues.apache.org/jira/browse/PDFBOX-4064 > Project: PDFBox > Issue Type: Bug > Components: Rendering >Affects Versions: 2.0.8 > Environment: Windows 10 >Reporter: savan patel > Attachments: CM_GOT_7_NUMBERS.pdf > > > i got pdf in which one particular page there is an image which is not > rendered on the position... > i understood the problem. there is 7 numbers came before cm operator which i > think is bug... > Page 9 has an error... -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org