-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 file annotations (un-flattened) do not show #421
Comments
The underlying Any comment is appreciated. |
@xupefei I tried digging into this issue and stumbled upon a few things.
Second approach is using the FPDF_ANNOT flag. The render()-function can take this flag as an input (found in PdfiumViewer/PdfiumViewer/PdfDocument.cs but you're using a different overload of this function |
The code passes an annotation flag here: https://github.com/QL-Win/QuickLook/blob/master/QuickLook.Plugin/QuickLook.Plugin.PDFViewer/PdfPageExtension.cs#L65 It's just that PdfiumViewer hasn't been updated in a while and the original author has stopped working on it. When I try https://github.com/frankhommers/PdfiumViewer and a more recent pdfium dll from here https://github.com/bblanchon/pdfium-binaries annotations show up. |
When a PDF document is edited in another program (Adobe/Foxit/Edge), with annotations, text boxes, shapes, etc.. and saved... QuickLook will not show the annotations and instead shows the pre-annotation original file.
Then only time QuickLook will show these annotations is if the file is 'flattened'/made permanent. Windows thumbnails/explorer preview (and also the original Mac QuickLook) all show these unsaved annotations and so should QuickLook. Please fix. Excellent program otherwise.
The text was updated successfully, but these errors were encountered: