fdo#85806: Hebrew and Arabic is not working on MAC

Change-Id: Id4476a041eb539d0b9c1227070289d34a939c6f6
Reviewed-on: https://gerrit.libreoffice.org/13288
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
fdo#83939: Check return value from pPDFWriter->Emit()

Change-Id: Id492b1b6b9d534276c155b1e46953d098ce8b969
fdo#83939: Add new error code for failed PDF signing, and handle it

Change-Id: Ide6dc06d33faea795272d9d32fc028ac8d023c5a
fdo#83939: Set error code if signing failed

Change-Id: I45f1077c744e20a369a73bf0b83c8dba04ddcda7