All, Whenever I certify my FDF PDF document allowing for Form fill-in, comments/markup, and adding attachments, then use the Adobe SDK class FDFDoc's SetOnImportJavaScript(PdfUtil.appAlertMaker(openingAlert.getMessageType(), openingAlert.getText()), before) function to display any errors/successes. The opening JavaScript alert fails and raises "This operation is not permitted." Having experienced the substituting font problem when digitally signing a signature field. I thought this font substitution issue was also causing this problem. It might still be a substitute font issue, but then it must involve some default font setting that I am unaware of? The display of JavaScript alerts using this prior function when the document is not certified presents no problems and works as expected. The FDFs themselves are the same as the code is the same in both cases.
To understand this font substitution issue I refer you to this post: === ... Check to make sure that the fonts are embedded in the underlying PDF that you imported into LiveCycle Designer. When the document is opened in Acrobat, if the fonts are not embedded, and not on the system, they will be substituted. However, in your case the PDF is rights-enabled, which disallows changes thus the error message. ... You can check the status of all your fonts under the File --> Properties --> Font tab. This will show you a listing of all fonts in the document and whether they're embedded or not. http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=1390&p=1 === I have used distiller to embed fonts to see if this font substitution is the cause of this issue. At best all I get Distiller to do is to embed a subset of the font. Further, I must just pick a font for the form fields that distiller has already embedded a subset for. Still, after doing this using courier font the above error still persists. Please inform of another cause or a better remedy. Thanks, Mike ------------------------------------------------------------------------------ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
