[
https://issues.apache.org/jira/browse/PDFBOX-2089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr closed PDFBOX-2089.
-----------------------------------
Resolution: Later
I'm closing it for now as it isn't really clear at this time if this problem
has any negative influence on rendering and/or on text extraction. It is like
in the movie "dark star" where the astronauts, when they're not finding out
what the exact failure is, say that they'll take care of it "when it really
fails". (Not an exact quote; and yes, I'm aware that in that movie, it was the
wrong decision)
> Negative width of character
> ---------------------------
>
> Key: PDFBOX-2089
> URL: https://issues.apache.org/jira/browse/PDFBOX-2089
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: Juraj Lonc
> Attachments: PDFBOX-2089_Matrix.diff, negative_width.pdf
>
>
> This PDF contains text matrix:
> -10.5679 0 0 -11.4 459.0349 19.4155 Tm
> that causes IMHO wrong calculation of character width (and height).
> Width and height calculated in PDFStreamEngine are negative numbers, because
> textMatrix.getXScale() gives negative value.
> I think it should be fixed in Matrix.getXScale() and Matrix.getYScale().
> Returning value should be fixed by Math.abs()
--
This message was sent by Atlassian JIRA
(v6.2#6252)