[
https://issues.apache.org/jira/browse/PDFBOX-5364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17483386#comment-17483386
]
Tilman Hausherr commented on PDFBOX-5364:
-----------------------------------------
There is a difference with this file:
https://issues.apache.org/jira/secure/attachment/12678988/gs-bugzilla692826.pdf
(top left)
(and thousands unimportant differences elsewhere)
by using this code
{code}
if (isRectangular(new GeneralPath(clippingPath)))
{
graphics.setClip(clippingPath.getBounds2D());
}
else
{
graphics.setClip(clippingPath);
}
{code}
It's really weird, because in theory, there should be no difference. Might be
another case of conversion between float and double.
> Picture position accuracy problem
> ---------------------------------
>
> Key: PDFBOX-5364
> URL: https://issues.apache.org/jira/browse/PDFBOX-5364
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.25, 3.0.0 PDFBox
> Environment: windows, linux
> Reporter: zhaoyuanli
> Priority: Major
> Attachments: image-2022-01-17-11-48-01-920.png,
> image-2022-01-27-09-32-55-327.png, test1.pdf
>
>
> * The image displayed is actually a combination of many images with a height
> of 1 pixel
> * However, after processing in pdfBox, some pictures seem to be missing.
> The display in Adobe is correct
> * Please see attached "test1.pdf" for the document. thanks~~
>
> !image-2022-01-17-11-48-01-920.png!
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]