hi have some problem generating a pdf with embedded fonts and encryption,
in my FO , i use some fonts that aren't standard fonts in acrobat reader (Verdana.ttf).
Before in previous FOP release which i used to convert my FO in PDF, i used itext for post-processing to add encryption.
Now i'm triyng to left itext to add the encryption with FOP, it works (but only for the encryption support),
and when i try to open the PDF outputfile acrobat reader give the following error:
i use the following code to add encryption : java.util.Map rendererOptions = new java.util.HashMap(); rendererOptions.put("ownerPassword", "mypassword"); rendererOptions.put("allowCopyContent", "TRUE"); rendererOptions.put("allowEditContent", "FALSE"); rendererOptions.put("allowPrint", "TRUE"); driver.getRenderer().setOptions(rendererOptions); driver.getRenderer().setupFontInfo(); driver.setRenderer(Driver.RENDER_PDF);
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
