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>&nbsp;&raquo&nbsp;<a href="/fop/">Fop</a>&nbsp;&raquo&nbsp;<a href="/fop/trunk/">Trunk</a></div> -->
-      	<div class="section-content"><h1 id="apachewzxhzdk1-fop-pdfx-iso-15930">Apache&trade; FOP: PDF/X (ISO 15930)</h1>
+      	<div class="section-content"><h1 id="apachewzxhzdk3-fop-pdfx-iso-15930">Apache&trade; 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">&lt;renderers&gt;</span>
+ <span class="nt">&lt;renderer</span> <span class="na">mime=</span><span class="s">&quot;application/pdf&quot;</span><span class="nt">&gt;</span>
+  <span class="nt">&lt;pdf-x-mode&gt;</span>PDF/X-3:2003<span class="nt">&lt;/pdf-x-mode&gt;</span>
+  <span class="nt">&lt;output-profile&gt;</span>USSheetfedCoated.icc<span class="nt">&lt;/output-profile&gt;</span>
+  <span class="nt">&lt;fonts&gt;</span>
+    <span class="nt">&lt;font</span> <span class="na">kerning=</span><span class="s">&quot;yes&quot;</span> <span class="na">embed-url=</span><span class="s">&quot;Arial.ttf&quot;</span><span class="nt">&gt;</span>
+      <span class="nt">&lt;font-triplet</span> <span class="na">name=</span><span class="s">&quot;Arial&quot;</span> <span class="na">style=</span><span class="s">&quot;normal&quot;</span> <span class="na">weight=</span><span class="s">&quot;normal&quot;</span><span class="nt">/&gt;</span>
+    <span class="nt">&lt;/font&gt;</span>
+  <span class="nt">&lt;/fonts&gt;</span>
+ <span class="nt">&lt;/renderer&gt;</span>
+<span class="nt">&lt;/renderers&gt;</span>
+</pre></div>
+
+
+<p>Add document title to fo:</p>
+<div class="codehilite"><pre><span class="nt">&lt;fo:declarations&gt;</span>
+ <span class="nt">&lt;x:xmpmeta</span> <span class="na">xmlns:x=</span><span class="s">&quot;adobe:ns:meta/&quot;</span><span class="nt">&gt;</span>
+  <span class="nt">&lt;rdf:RDF</span> <span class="na">xmlns:rdf=</span><span class="s">&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;</span><span class="nt">&gt;</span>
+    <span class="nt">&lt;rdf:Description</span> <span class="na">rdf:about=</span><span class="s">&quot;&quot;</span> <span class="na">xmlns:dc=</span><span class="s">&quot;http://purl.org/dc/elements/1.1/&quot;</span><span class="nt">&gt;</span>
+      <span class="nt">&lt;dc:title&gt;</span>Document title<span class="nt">&lt;/dc:title&gt;</span>
+      <span class="nt">&lt;dc:creator&gt;</span>Document author<span class="nt">&lt;/dc:creator&gt;</span>
+      <span class="nt">&lt;dc:description&gt;</span>Document subject<span class="nt">&lt;/dc:description&gt;</span>
+    <span class="nt">&lt;/rdf:Description&gt;</span>
+  <span class="nt">&lt;/rdf:RDF&gt;</span>
+ <span class="nt">&lt;/x:xmpmeta&gt;</span>
+<span class="nt">&lt;/fo:declarations&gt;</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