You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/11/29 16:36:00 UTC

[jira] [Commented] (PDFBOX-4390) ExtractText loses spaces when rotationMagic option is used

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

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

Commit 1847730 from tilman@apache.org in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1847730 ]

PDFBOX-4390: also apply font matrix (important for type 3 fonts)

> ExtractText loses spaces when rotationMagic option is used
> ----------------------------------------------------------
>
>                 Key: PDFBOX-4390
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4390
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>    Affects Versions: 2.0.12, 2.0.13
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Major
>             Fix For: 2.0.14
>
>
> This was detected by looking at the result of a regression test thankfully done by [~tallison@apache.org] (see at the end of PDFBOX-4371) for his work in TIKA-2779, there were many new words but some didn't have the spaces. This is the result of a bad angle (180 instead of 0), because the font matrix hasn't been considered, for type 3 fonts this is often a rotation or a flip.



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

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