plangrid / pdf-annotate

Pure-python library for adding annotations to PDFs
MIT License
195 stars 45 forks source link

Metadata/attributes do not stick #69

Open thomas-smith-v opened 3 years ago

thomas-smith-v commented 3 years ago

When adding annotations to a PDF, metadata does not seem to be applied correctly. I have only tested this on the Bluebeam Revu viewer. I'm not sure if this is an issue with the viewer or an underlying issue.

For the MetaData class, none of the attributes seem to be written to the annotation's properties.

For attributes designated by the Appearance class (e.g. stroke width/color), I can see them visually when I first open the PDF, but the attribute values show as if they are non-existent and they disappear when any changes are made. For example, I can add a red line with a width of 20, and I will see that line. However, if I make any change within the viewer (e.g. move it, manually change the width) all attributes will reset to their defaults, meaning the line will become invisible, the width set to 1, color set to transparent, etc.

j-sripad commented 3 years ago

is this fixed?

thomas-smith-v commented 3 years ago

No, I have not seen any fixes for this