You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Juraj Lonc (JIRA)" <ji...@apache.org> on 2012/08/30 11:16:07 UTC
[jira] [Created] (PDFBOX-1404) Add FontBoundingBox to extracted
TextPosition
Juraj Lonc created PDFBOX-1404:
----------------------------------
Summary: Add FontBoundingBox to extracted TextPosition
Key: PDFBOX-1404
URL: https://issues.apache.org/jira/browse/PDFBOX-1404
Project: PDFBox
Issue Type: Improvement
Reporter: Juraj Lonc
It would be nice to have FontBoundingBox accessible from TextPosition.
This allows me to easily calculate "real" text bounding (the same as make text selection by cursor).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (PDFBOX-1404) Add FontBoundingBox to extracted
TextPosition
Posted by "Juraj Lonc (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444819#comment-13444819 ]
Juraj Lonc commented on PDFBOX-1404:
------------------------------------
Two files need to modified: PDFStreamEngine.java and TextPosition.java
> Add FontBoundingBox to extracted TextPosition
> ---------------------------------------------
>
> Key: PDFBOX-1404
> URL: https://issues.apache.org/jira/browse/PDFBOX-1404
> Project: PDFBox
> Issue Type: Improvement
> Reporter: Juraj Lonc
> Attachments: PDFBOX-1404_PDFStreamEngine.patch, PDFBOX-1404_TextPosition.patch, text_selection.png
>
>
> It would be nice to have FontBoundingBox accessible from TextPosition.
> This allows me to easily calculate "real" text bounding (the same as make text selection by cursor).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (PDFBOX-1404) Add FontBoundingBox to extracted
TextPosition
Posted by "Juraj Lonc (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13446000#comment-13446000 ]
Juraj Lonc commented on PDFBOX-1404:
------------------------------------
TextPosition already contain font object which gives FontBoundingBox.
> Add FontBoundingBox to extracted TextPosition
> ---------------------------------------------
>
> Key: PDFBOX-1404
> URL: https://issues.apache.org/jira/browse/PDFBOX-1404
> Project: PDFBox
> Issue Type: Improvement
> Reporter: Juraj Lonc
> Attachments: PDFBOX-1404_PDFStreamEngine.patch, PDFBOX-1404_TextPosition.patch, text_selection.png
>
>
> It would be nice to have FontBoundingBox accessible from TextPosition.
> This allows me to easily calculate "real" text bounding (the same as make text selection by cursor).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PDFBOX-1404) Add FontBoundingBox to extracted
TextPosition
Posted by "Juraj Lonc (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juraj Lonc updated PDFBOX-1404:
-------------------------------
Attachment: text_selection.png
This screenshot shows what I mean.
light blue block - it is the selection made in Adobe Reader
red and blue lines = the lines I am able to calculate with FontBoundingBox
> Add FontBoundingBox to extracted TextPosition
> ---------------------------------------------
>
> Key: PDFBOX-1404
> URL: https://issues.apache.org/jira/browse/PDFBOX-1404
> Project: PDFBox
> Issue Type: Improvement
> Reporter: Juraj Lonc
> Attachments: text_selection.png
>
>
> It would be nice to have FontBoundingBox accessible from TextPosition.
> This allows me to easily calculate "real" text bounding (the same as make text selection by cursor).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (PDFBOX-1404) Add FontBoundingBox to extracted
TextPosition
Posted by "Juraj Lonc (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juraj Lonc closed PDFBOX-1404.
------------------------------
Resolution: Implemented
> Add FontBoundingBox to extracted TextPosition
> ---------------------------------------------
>
> Key: PDFBOX-1404
> URL: https://issues.apache.org/jira/browse/PDFBOX-1404
> Project: PDFBox
> Issue Type: Improvement
> Reporter: Juraj Lonc
> Attachments: PDFBOX-1404_PDFStreamEngine.patch, PDFBOX-1404_TextPosition.patch, text_selection.png
>
>
> It would be nice to have FontBoundingBox accessible from TextPosition.
> This allows me to easily calculate "real" text bounding (the same as make text selection by cursor).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PDFBOX-1404) Add FontBoundingBox to extracted
TextPosition
Posted by "Juraj Lonc (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juraj Lonc updated PDFBOX-1404:
-------------------------------
Attachment: PDFBOX-1404_TextPosition.patch
PDFBOX-1404_PDFStreamEngine.patch
> Add FontBoundingBox to extracted TextPosition
> ---------------------------------------------
>
> Key: PDFBOX-1404
> URL: https://issues.apache.org/jira/browse/PDFBOX-1404
> Project: PDFBox
> Issue Type: Improvement
> Reporter: Juraj Lonc
> Attachments: PDFBOX-1404_PDFStreamEngine.patch, PDFBOX-1404_TextPosition.patch, text_selection.png
>
>
> It would be nice to have FontBoundingBox accessible from TextPosition.
> This allows me to easily calculate "real" text bounding (the same as make text selection by cursor).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira