[
https://issues.apache.org/jira/browse/PDFBOX-3075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14983139#comment-14983139
]
Daniel Persson commented on PDFBOX-3075:
----------------------------------------
I've implemented a Bounding box function in the PDFTextStreamEngine.java that
could give you an accurate box not requiring you to check the direction for
using. Is this function also not a valid contribution? This function uses the
getHeight function.
> Changed to the getHeight function for fonts so it will return a more accurate
> height
> ------------------------------------------------------------------------------------
>
> Key: PDFBOX-3075
> URL: https://issues.apache.org/jira/browse/PDFBOX-3075
> Project: PDFBox
> Issue Type: Bug
> Components: Text extraction
> Affects Versions: 2.0.0
> Reporter: Daniel Persson
> Priority: Minor
> Labels: github-import
> Fix For: 2.0.0
>
> Attachments: get_height.patch
>
>
> The getHeight in the fonts gave back approximated heights and in some cases
> only height the first time the function was called. Tried to clean up the
> functions and return a more accurate height for each glyph.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]