PageRenderTime 40ms CodeModel.GetById 10ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/contribs/fop-1.0/docs/trunk/pdfx.html

https://bitbucket.org/ianmayo/debrief
HTML | 384 lines | 307 code | 15 blank | 62 comment | 0 complexity | 14a0bc046e71d4e29482c9b8238ce78f MD5 | raw file
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <head>
  4. <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <meta content="Apache Forrest" name="Generator">
  6. <meta name="Forrest-version" content="0.8">
  7. <meta name="Forrest-skin-name" content="pelt">
  8. <title>PDF/X (ISO 15930)</title>
  9. <link type="text/css" href="../skin/basic.css" rel="stylesheet">
  10. <link media="screen" type="text/css" href="../skin/screen.css" rel="stylesheet">
  11. <link media="print" type="text/css" href="../skin/print.css" rel="stylesheet">
  12. <link type="text/css" href="../skin/profile.css" rel="stylesheet">
  13. <script src="../skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="../skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="../skin/fontsize.js" language="javascript" type="text/javascript"></script>
  14. <link rel="shortcut icon" href="../">
  15. </head>
  16. <body onload="init()">
  17. <script type="text/javascript">ndeSetTextSize();</script>
  18. <div id="top">
  19. <!--+
  20. |header
  21. +-->
  22. <div class="header">
  23. <!--+
  24. |start group logo
  25. +-->
  26. <div class="grouplogo">
  27. <a href="http://xmlgraphics.apache.org/"><img class="logoImage" alt="Apache XML Graphics" src="../images/group-logo.gif" title="Apache XML Graphics is responsible for the creation and maintenance of software for managing the conversion of XML formats to graphical output, and the creation and maintenance of related software components, based on software licensed to the Foundation"></a>
  28. </div>
  29. <!--+
  30. |end group logo
  31. +-->
  32. <!--+
  33. |start Project Logo
  34. +-->
  35. <div class="projectlogo">
  36. <a href="http://xmlgraphics.apache.org/fop/"><img class="logoImage" alt="Apache FOP" src="../images/logo.jpg" title="Apache FOP (Formatting Objects Processor) is the world's first output independent formatter. Output formats currently supported include PDF, PCL, PS, SVG, XML (area tree representation), Print, AWT, MIF and TXT. The primary output target is PDF."></a>
  37. </div>
  38. <!--+
  39. |end Project Logo
  40. +-->
  41. <!--+
  42. |start Search
  43. +-->
  44. <div class="searchbox">
  45. <form action="http://www.google.com/search" method="get" class="roundtopsmall">
  46. <input value="xmlgraphics.apache.org" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search the site with google">&nbsp;
  47. <input name="Search" value="Search" type="submit">
  48. </form>
  49. </div>
  50. <!--+
  51. |end search
  52. +-->
  53. <!--+
  54. |start Tabs
  55. +-->
  56. <ul id="tabs">
  57. <li>
  58. <a class="unselected" href="../index.html">Home</a>
  59. </li>
  60. <li>
  61. <a class="unselected" href="../0.95/index.html">Version 0.95</a>
  62. </li>
  63. <li>
  64. <a class="unselected" href="../1.0/index.html">Version 1.0</a>
  65. </li>
  66. <li class="current">
  67. <a class="selected" href="../trunk/index.html">FOP Trunk</a>
  68. </li>
  69. <li>
  70. <a class="unselected" href="../dev/index.html">Development</a>
  71. </li>
  72. </ul>
  73. <!--+
  74. |end Tabs
  75. +-->
  76. </div>
  77. </div>
  78. <div id="main">
  79. <div id="publishedStrip">
  80. <!--+
  81. |start Subtabs
  82. +-->
  83. <div id="level2tabs"></div>
  84. <!--+
  85. |end Endtabs
  86. +-->
  87. <script type="text/javascript"><!--
  88. document.write("Last Published: " + document.lastModified);
  89. // --></script>
  90. </div>
  91. <!--+
  92. |breadtrail
  93. +-->
  94. <div class="breadtrail">
  95. <a href="http://www.apache.org/">apache.org</a> &gt; <a href="http://xml.apache.org/">XML Federation</a> &gt; <a href="http://xmlgraphics.apache.org/">xmlgraphics.apache.org</a><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script>
  96. </div>
  97. <!--+
  98. |start Menu, mainarea
  99. +-->
  100. <!--+
  101. |start Menu
  102. +-->
  103. <div id="menu">
  104. <div onclick="SwitchMenu('menu_selected_1.1', '../skin/')" id="menu_selected_1.1Title" class="menutitle" style="background-image: url('../skin/images/chapter_open.gif');">FOP Trunk (dev)</div>
  105. <div id="menu_selected_1.1" class="selectedmenuitemgroup" style="display: block;">
  106. <div class="menuitem">
  107. <a href="../trunk/index.html">About</a>
  108. </div>
  109. <div class="menuitem">
  110. <a href="../trunk/upgrading.html">Upgrading</a>
  111. </div>
  112. <div onclick="SwitchMenu('menu_1.1.3', '../skin/')" id="menu_1.1.3Title" class="menutitle">Using FOP</div>
  113. <div id="menu_1.1.3" class="menuitemgroup">
  114. <div class="menuitem">
  115. <a href="../trunk/compiling.html">Build</a>
  116. </div>
  117. <div class="menuitem">
  118. <a href="../trunk/configuration.html">Configure</a>
  119. </div>
  120. <div class="menuitem">
  121. <a href="../trunk/running.html">Run</a>
  122. </div>
  123. <div class="menuitem">
  124. <a href="../trunk/embedding.html">Embed</a>
  125. </div>
  126. <div class="menuitem">
  127. <a href="../trunk/servlets.html">Servlets</a>
  128. </div>
  129. <div class="menuitem">
  130. <a href="../trunk/anttask.html">Ant Task</a>
  131. </div>
  132. </div>
  133. <div onclick="SwitchMenu('menu_selected_1.1.4', '../skin/')" id="menu_selected_1.1.4Title" class="menutitle" style="background-image: url('../skin/images/chapter_open.gif');">Features</div>
  134. <div id="menu_selected_1.1.4" class="selectedmenuitemgroup" style="display: block;">
  135. <div class="menuitem">
  136. <a href="../trunk/output.html">Output Targets</a>
  137. </div>
  138. <div class="menuitem">
  139. <a href="../trunk/intermediate.html">Intermediate Format</a>
  140. </div>
  141. <div class="menuitem">
  142. <a href="../trunk/pdfencryption.html">PDF Encryption</a>
  143. </div>
  144. <div class="menuitem">
  145. <a href="../trunk/pdfa.html">PDF/A</a>
  146. </div>
  147. <div class="menupage">
  148. <div class="menupagetitle">PDF/X</div>
  149. </div>
  150. <div class="menuitem">
  151. <a href="../trunk/graphics.html">Graphics</a>
  152. </div>
  153. <div class="menuitem">
  154. <a href="../trunk/fonts.html">Fonts</a>
  155. </div>
  156. <div class="menuitem">
  157. <a href="../trunk/hyphenation.html">Hyphenation</a>
  158. </div>
  159. <div class="menuitem">
  160. <a href="../trunk/extensions.html">Extensions</a>
  161. </div>
  162. <div class="menuitem">
  163. <a href="../trunk/events.html">Events</a>
  164. </div>
  165. <div class="menuitem">
  166. <a href="../trunk/metadata.html">Metadata</a>
  167. </div>
  168. <div class="menuitem">
  169. <a href="../trunk/accessibility.html">Accessibility</a>
  170. </div>
  171. </div>
  172. </div>
  173. <div id="credit"></div>
  174. <div id="roundbottom">
  175. <img style="display: none" class="corner" height="15" width="15" alt="" src="../skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
  176. <!--+
  177. |alternative credits
  178. +-->
  179. <div id="credit2"></div>
  180. </div>
  181. <!--+
  182. |end Menu
  183. +-->
  184. <!--+
  185. |start content
  186. +-->
  187. <div id="content">
  188. <div title="raw XML" class="xmllink">
  189. <a class="dida" href="pdfx.xml"><img alt="XML - icon" src="../skin/images/xmldoc.gif" class="skin"><br>
  190. XML</a>
  191. </div>
  192. <div title="Portable Document Format" class="pdflink">
  193. <a class="dida" href="pdfx.pdf"><img alt="PDF -icon" src="../skin/images/pdfdoc.gif" class="skin"><br>
  194. PDF</a>
  195. </div>
  196. <div class="trail">Font size:
  197. &nbsp;<input value="Reset" class="resetfont" title="Reset text" onclick="ndeSetTextSize('reset'); return false;" type="button">
  198. &nbsp;<input value="-a" class="smallerfont" title="Shrink text" onclick="ndeSetTextSize('decr'); return false;" type="button">
  199. &nbsp;<input value="+a" class="biggerfont" title="Enlarge text" onclick="ndeSetTextSize('incr'); return false;" type="button">
  200. </div>
  201. <h1>PDF/X (ISO 15930)</h1>
  202. <div id="minitoc-area">
  203. <ul class="minitoc">
  204. <li>
  205. <a href="#overview">Overview</a>
  206. </li>
  207. <li>
  208. <a href="#status">Implementation Status</a>
  209. </li>
  210. <li>
  211. <a href="#command-line">Usage (command line)</a>
  212. </li>
  213. <li>
  214. <a href="#embedded">Usage (embedded)</a>
  215. </li>
  216. <li>
  217. <a href="#rules">PDF/X in Action</a>
  218. </li>
  219. <li>
  220. <a href="#profile-compatibility">PDF profile compatibility</a>
  221. </li>
  222. </ul>
  223. </div>
  224. <a name="N10018"></a><a name="overview"></a>
  225. <h2 class="underlined_10">Overview</h2>
  226. <div class="section">
  227. <div class="warning">
  228. <div class="label">Warning</div>
  229. <div class="content">
  230. Support for PDF/X is available beginning with version 0.93. This feature is new and
  231. may not be 100% complete, yet. Feedback is welcome.
  232. </div>
  233. </div>
  234. <p>
  235. PDF/X is a standard which faciliates prepress digital data exchange using PDF.
  236. Currently, only PDF/X-3:2003 is implemented out of the many different flavours of PDF/X
  237. profiles. PDF/X-3:2003 is documented in
  238. <a class="external" href="http://www.iso.org/iso/en/CatalogueDetailPage.CatalogueDetail?CSNUMBER=39940&ICS1=37&ICS2=100&ICS3=99">ISO 15930-6:2003(E)</a>.
  239. More info on PDF/X can be found on the
  240. <a class="external" href="http://www.pdfx.info/">PDF/X info site</a>.
  241. </p>
  242. </div>
  243. <a name="N1002D"></a><a name="status"></a>
  244. <h2 class="underlined_10">Implementation Status</h2>
  245. <div class="section">
  246. <p>
  247. <strong>PDF/X-3:2003</strong> is implemented to the degree that FOP supports
  248. the creation of the elements described in ISO 15930-6.
  249. </p>
  250. <p>
  251. An important restriction of the current implementation is that all normal
  252. RGB colors specified in XSL-FO and SVG are left unchanged in the sRGB color
  253. space (XSL-FO and SVG both use sRGB as their default color space).
  254. There's no conversion to a CMYK color space. Although sRGB is a
  255. calibrated color space, its color space has a different size than a CMYK
  256. color space which makes the conversion a lossy conversion and can lead to
  257. unwanted results. Although the use of the calibrated sRGB has been promoted
  258. for years, print shops usually prefer to convert an sRGB PDF to CMYK prior
  259. to production. Until there's full CMYK support in FOP you will have to
  260. work closely with your print service provider to make sure you get the
  261. intended result.
  262. </p>
  263. <p>
  264. Tests have been performed against Adobe Acrobat 7.0.7 (Preflight function).
  265. Note that there are bugs in Adobe Acrobat which cause false alarms if both
  266. PDF/A-1b and PDF/X-3:2003 are activated at the same time.
  267. </p>
  268. </div>
  269. <a name="N10040"></a><a name="command-line"></a>
  270. <h2 class="underlined_10">Usage (command line)</h2>
  271. <div class="section">
  272. <p>
  273. To activate PDF/X-3:2003 from the command-line, specify "-pdfprofile PDF/X-3:2003"
  274. as a parameter. If there is a violation of one of the validation rules for
  275. PDF/X, an error message is presented and the processing stops.
  276. </p>
  277. </div>
  278. <a name="N1004A"></a><a name="embedded"></a>
  279. <h2 class="underlined_10">Usage (embedded)</h2>
  280. <div class="section">
  281. <p>
  282. When FOP is embedded in another Java application you can set a special option
  283. on the renderer options in the user agent to activate the PDF/A-1b profile.
  284. Here's an example:
  285. </p>
  286. <pre class="code">
  287. FOUserAgent userAgent = fopFactory.newFOUserAgent();
  288. userAgent.getRendererOptions().put("pdf-x-mode", "PDF/X-3:2003");
  289. Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF, userAgent);
  290. [..]</pre>
  291. <p>
  292. If one of the validation rules of PDF/X is violated, an PDFConformanceException
  293. (descendant of RuntimeException) is thrown.
  294. </p>
  295. </div>
  296. <a name="N1005B"></a><a name="rules"></a>
  297. <h2 class="underlined_10">PDF/X in Action</h2>
  298. <div class="section">
  299. <p>
  300. There are a number of things that must be looked after if you activate a PDF/X
  301. profile. If you receive a PDFConformanceException, have a look at the following
  302. list (not necessarily comprehensive):
  303. </p>
  304. <ul>
  305. <li>
  306. Make sure all (!) fonts are embedded. If you use base 14 fonts (like Helvetica)
  307. you need to obtain a license for them and embed them like any other font.
  308. </li>
  309. <li>
  310. Don't use PDF encryption. PDF/X doesn't allow it.
  311. </li>
  312. <li>
  313. Don't use CMYK images without an ICC color profile. PDF/X doesn't allow mixing
  314. color spaces and FOP currently only properly supports the sRGB color space. However,
  315. you will need to specify an
  316. <a href="configuration.html#pdf-renderer">output device profile</a>
  317. (usually a CMYK profile) in the configuration. sRGB won't work here since it's a
  318. display device profile, not an output device profile.
  319. </li>
  320. <li>
  321. Don't use non-RGB colors in SVG images. Same issue as with CMYK images.
  322. </li>
  323. <li>
  324. Don't use EPS graphics with fo:external-graphic. Embedding EPS graphics in PDF
  325. is deprecated since PDF 1.4 and prohibited by PDF/X-3:2003.
  326. </li>
  327. <li>
  328. PDF is forced to version 1.4 if PDF/X-3:2003 is activated.
  329. </li>
  330. </ul>
  331. </div>
  332. <a name="N1007E"></a><a name="profile-compatibility"></a>
  333. <h2 class="underlined_10">PDF profile compatibility</h2>
  334. <div class="section">
  335. <p>
  336. The PDF profiles "PDF/X-3:2003" and "PDF/A-1b" are compatible and can both be
  337. activated at the same time.
  338. </p>
  339. </div>
  340. <p align="right">
  341. <font size="-2">by&nbsp;Jeremias M&auml;rki</font>
  342. </p>
  343. <span class="version">
  344. version 627324</span>
  345. </div>
  346. <!--+
  347. |end content
  348. +-->
  349. <div class="clearboth">&nbsp;</div>
  350. </div>
  351. <div id="footer">
  352. <!--+
  353. |start bottomstrip
  354. +-->
  355. <div class="lastmodified">
  356. <script type="text/javascript"><!--
  357. document.write("Last Published: " + document.lastModified);
  358. // --></script>
  359. </div>
  360. <div class="copyright">
  361. Copyright &copy;
  362. 1999-2009 <a href="http://www.apache.org/licenses/">The Apache Software Foundation.</a>
  363. </div>
  364. <!--+
  365. |end bottomstrip
  366. +-->
  367. </div>
  368. </body>
  369. </html>