TextPosition created with wrong text size
-----------------------------------------

                 Key: PDFBOX-1135
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1135
             Project: PDFBox
          Issue Type: Bug
          Components: Text extraction
    Affects Versions: 1.6.0, 1.7.0
            Reporter: Sergey Vladimirov
             Fix For: 1.7.0
         Attachments: PDFBOX-1135.pdf

Both totalVerticalDisplacementDisp and fontSizeTextPx shall use textXctm to get 
actual size, not textMatrix.

I.e. line 503 of PDFStreamEngine shall be 

                            (int)(fontSizeText * textXctm.getXScale())

Affected file in attach.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to