[luatex] Return value of pdfe.getstatus()

Andreas Matthias andreas.matthias at gmail.com
Thu Mar 30 16:10:41 CEST 2023


On Thu, Mar 30, 2023 at 1:38 PM luigi scarso <luigi.scarso at gmail.com> wrote:

>
> We have these ones:
> ppapi.h:  PPCRYPT_NONE = 0,
>

ok

> ppapi.h:  PPCRYPT_DONE = 1,
>

ok

> ppapi.h:  PPCRYPT_FAIL = -1,
>

When does this happen?
If the file doesn't exist or is not a valid pdf, then pdfe.open() returns
nil.


> ppapi.h:  PPCRYPT_PASS = -2
>

ok.  Then there's a bug in the documentation (§14.2.2) that says:  -1  the
document is (still) protected.

 I have fixed the manual:

> 1d00d9173  Fixed description of pdfe.getstatus (A. MATTHIAS).
>

Where is this repository?

Cheers
Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/luatex/attachments/20230330/387e2133/attachment.html>


More information about the luatex mailing list.