-
Notifications
You must be signed in to change notification settings - Fork 11
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
Pdf annotations are not being drawn #13
Comments
Can you provide me with an example PDF? |
Sorry, I completely forgot to upload it. Here it goes: |
The annotations, currently in pdfium are only drawn, perhaps this also allows them to be compiled Maybe with this commit you could also compile the pdf with foarms. Would be great |
From the pdfium code: We or in FPDF_ANNOT if renderAnnot is true on renderPageBitmap, but it still doesn't render that page correctly. Happen to know what kind of annotation it is? |
@johngray1965 unfortunately I don't, as I don't have access to how the pdf is generated. But I would say it is an interactive form, which is a type of widget. |
It is related to FPDF_FFLDraw not called for new version of Pdfium render annotation and signature. I made some modifications to the code in PdfiumAndroid |
@marain87 would you be able to add other functions such as search and more from these two repositories? https://github.com/Lesmm/AndroidPdfViewer/tree/develop ( in this branch search and selection works) https://github.com/TEA-ebook/AndroidPdfViewer (search, selection and highlighting should work here) |
@odmfl those projejcts are viewers. This projects wraps the native pdfium api to provide the APIs to an Android app. We project isn't a viewer. You are talking about viewer functionality. |
.pdf documents that contain annotations are drawn without them.
https://github.com/barteksc/PdfiumAndroid , in which the library is based, draws the annotations.
The text was updated successfully, but these errors were encountered: