You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by bu...@apache.org on 2015/02/13 16:24:07 UTC
svn commit: r940054 - in /websites/staging/xmlgraphics/trunk/content: ./
fop/trunk/pdfx.html
Author: buildbot
Date: Fri Feb 13 15:24:07 2015
New Revision: 940054
Log:
Staging update by buildbot for xmlgraphics
Modified:
websites/staging/xmlgraphics/trunk/content/ (props changed)
websites/staging/xmlgraphics/trunk/content/fop/trunk/pdfx.html
Propchange: websites/staging/xmlgraphics/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Feb 13 15:24:07 2015
@@ -1 +1 @@
-1659275
+1659580
Modified: websites/staging/xmlgraphics/trunk/content/fop/trunk/pdfx.html
==============================================================================
--- websites/staging/xmlgraphics/trunk/content/fop/trunk/pdfx.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/trunk/pdfx.html Fri Feb 13 15:24:07 2015
@@ -354,7 +354,7 @@ $(document).ready(function () {
<div id="items">
</div>
<!-- <div id="breadcrumb"><a href="/">Home</a> » <a href="/fop/">Fop</a> » <a href="/fop/trunk/">Trunk</a></div> -->
- <div class="section-content"><h1 id="apachewzxhzdk1-fop-pdfx-iso-15930">Apache™ FOP: PDF/X (ISO 15930)</h1>
+ <div class="section-content"><h1 id="apachewzxhzdk3-fop-pdfx-iso-15930">Apache™ FOP: PDF/X (ISO 15930)</h1>
<p><authors><person email="jeremias@apache.org" name="Jeremias Märki"></person></authors></p>
<h2 id="overview">Overview</h2>
<p><warning>Support for PDF/X is available beginning with version 0.93. This feature is new and may not be 100% complete, yet. Feedback is welcome.</warning></p>
@@ -365,6 +365,36 @@ $(document).ready(function () {
<p>Tests have been performed against Adobe Acrobat 7.0.7 (Preflight function). Note that there are bugs in Adobe Acrobat which cause false alarms if both PDF/A-1b and PDF/X-3:2003 are activated at the same time.</p>
<h2 id="command-line">Usage (command line)</h2>
<p>To activate PDF/X-3:2003 from the command-line, specify "-pdfprofile PDF/X-3:2003" as a parameter. If there is a violation of one of the validation rules for PDF/X, an error message is presented and the processing stops.</p>
+<h2 id="fop-xconf">Usage (fop.xconf)</h2>
+<div class="codehilite"><pre><span class="nt"><renderers></span>
+ <span class="nt"><renderer</span> <span class="na">mime=</span><span class="s">"application/pdf"</span><span class="nt">></span>
+ <span class="nt"><pdf-x-mode></span>PDF/X-3:2003<span class="nt"></pdf-x-mode></span>
+ <span class="nt"><output-profile></span>USSheetfedCoated.icc<span class="nt"></output-profile></span>
+ <span class="nt"><fonts></span>
+ <span class="nt"><font</span> <span class="na">kerning=</span><span class="s">"yes"</span> <span class="na">embed-url=</span><span class="s">"Arial.ttf"</span><span class="nt">></span>
+ <span class="nt"><font-triplet</span> <span class="na">name=</span><span class="s">"Arial"</span> <span class="na">style=</span><span class="s">"normal"</span> <span class="na">weight=</span><span class="s">"normal"</span><span class="nt">/></span>
+ <span class="nt"></font></span>
+ <span class="nt"></fonts></span>
+ <span class="nt"></renderer></span>
+<span class="nt"></renderers></span>
+</pre></div>
+
+
+<p>Add document title to fo:</p>
+<div class="codehilite"><pre><span class="nt"><fo:declarations></span>
+ <span class="nt"><x:xmpmeta</span> <span class="na">xmlns:x=</span><span class="s">"adobe:ns:meta/"</span><span class="nt">></span>
+ <span class="nt"><rdf:RDF</span> <span class="na">xmlns:rdf=</span><span class="s">"http://www.w3.org/1999/02/22-rdf-syntax-ns#"</span><span class="nt">></span>
+ <span class="nt"><rdf:Description</span> <span class="na">rdf:about=</span><span class="s">""</span> <span class="na">xmlns:dc=</span><span class="s">"http://purl.org/dc/elements/1.1/"</span><span class="nt">></span>
+ <span class="nt"><dc:title></span>Document title<span class="nt"></dc:title></span>
+ <span class="nt"><dc:creator></span>Document author<span class="nt"></dc:creator></span>
+ <span class="nt"><dc:description></span>Document subject<span class="nt"></dc:description></span>
+ <span class="nt"></rdf:Description></span>
+ <span class="nt"></rdf:RDF></span>
+ <span class="nt"></x:xmpmeta></span>
+<span class="nt"></fo:declarations></span>
+</pre></div>
+
+
<h2 id="embedded">Usage (embedded)</h2>
<p>When FOP is embedded in another Java application you can set a special option on the renderer options in the user agent to activate the PDF/A-1b profile. Here's an example:</p>
<div class="codehilite"><pre><span class="n">FOUserAgent</span> <span class="n">userAgent</span> <span class="o">=</span> <span class="n">fopFactory</span><span class="o">.</span><span class="na">newFOUserAgent</span><span class="o">();</span>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org