Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in BBox translation when flattening annotations #35

Closed
wants to merge 2 commits into from

Conversation

tbuckel
Copy link

@tbuckel tbuckel commented Nov 6, 2017

Hi,
I ran into a problem with flattening callout annotations done through Foxit. After being flattened into a PDF via PdfStamper, their position was somewhat "off". I'm not a PDF expert at all, but having dug into PdfStamperImp.flattenAnnotations(boolean) method, it is considering the BBox translation only for scale of the PDF Object, but not for its position.
The attached pull request works for me and makes logical sense, but not an expert for PDFs.

Thanks,
Thomas

@iText-CI
Copy link
Contributor

iText-CI commented Nov 6, 2017

Can one of the admins verify this patch?

@tbuckel tbuckel changed the title Bug in BBox translation Bug in BBox translation when flattening annotations Nov 6, 2017
@michaeldemey
Copy link
Contributor

Thank you for your pull request (and patience).

We're going to look into this PR and we'll update you when we decided to merge this or not.
Our internal reference: RND-706

@tbuckel
Copy link
Author

tbuckel commented Jan 24, 2018

Thanks @michaeldemey

@avlemos
Copy link

avlemos commented Apr 30, 2019

Hi @tbuckel,

Right now itext/itextpdf has been deprecated in favor of itext/itext7, although we will continue to incorporate security fixes in itext/itextpdf (iText5).

Could you check if the issue exists in itext/itext7 so we can incorporate your fix?

Thank you for contribution, it is appreciated.

@avlemos avlemos closed this Apr 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants