diff options
-rw-r--r-- | src/documentation/content/xdocs/dev/faq.xml | 2 | ||||
-rw-r--r-- | src/documentation/content/xdocs/faq.xml | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/documentation/content/xdocs/dev/faq.xml b/src/documentation/content/xdocs/dev/faq.xml index 800174f74..16c3b2f19 100644 --- a/src/documentation/content/xdocs/dev/faq.xml +++ b/src/documentation/content/xdocs/dev/faq.xml @@ -812,7 +812,7 @@ transformer.transform(xmlsource, new SAXResult(driver.getContentHandler()));</so <answer> <p>Answers are that fonts must be available for the output format, and the selected font must contain glyphs for the desired character. -PDF has a set of <link href="output.html#pdf-fonts">defined fonts</link>, other fonts can be embedded following the + PDF has a set of <link href="../output.html#pdf-fonts">defined fonts</link>, other fonts can be embedded following the <link href="fonts.html">instructions</link>. To find out if the characters you need are in the core fonts then (todo - find a glyph font table for the fonts). diff --git a/src/documentation/content/xdocs/faq.xml b/src/documentation/content/xdocs/faq.xml index 998a68d76..3bf567e7d 100644 --- a/src/documentation/content/xdocs/faq.xml +++ b/src/documentation/content/xdocs/faq.xml @@ -957,10 +957,10 @@ transformer.transform(xmlsource, new SAXResult(driver.getContentHandler()));</so for adding security features, document properties, watermarks, and many other features to PDF files. FOP and iText can be integrated into one Java application, see sample code for <link - href="pdf-security">encryption</link>. + href="#pdf-security">encryption</link>. The bad news is that iText swallows PDF bookmarks. </li> - + <li> You can use Adobe Acrobat (the full version, not the Reader) to process the file manually or with scripting that it supports. @@ -996,7 +996,7 @@ transformer.transform(xmlsource, new SAXResult(driver.getContentHandler()));</so int n = reader.getNumberOfPages(); Document document = new Document(reader.getPageSizeWithRotation(1)); PdfWriter writer = PdfWriter.getInstance(document, outfile); - writer.setEncryption(PdfWriter.STRENGTH40BITS, "pdf", null, + writer.setEncryption(PdfWriter.STRENGTH40BITS, "pdf", null, PdfWriter.AllowCopy); document.open(); PdfContentByte cb = writer.getDirectContent(); |