[ 
https://issues.apache.org/jira/browse/PDFBOX-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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

Reply via email to