I'm working on a django project using pdfrw to fill a fillable pdf form.
I'm setting the Ff = 1
flag in order to make the fields read-only.
for annotation in template_path.Root.AcroForm.Fields:
# the code goes here
annotation.update(pdfrw.PdfDict(Ff=1))
This seems to work in every viewer I tested so far except for "Preview" the native mac app to open and display pdf files.
Why is that? Am I missing something? Is there another way of achieving this?