From 42471a761cf78619b02aa588c38d0aa85dfa0051 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Thu, 3 Aug 2006 07:41:39 +0000 Subject: [PATCH] Documentation update for the "output-profile" value necessary for PDF/X-3:2003. Some updates for the config schema. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@428277 13f79535-47bb-0310-9956-ffa450edef68 --- .../content/xdocs/trunk/configuration.xml | 14 ++ .../content/xdocs/trunk/pdfx.xml | 7 +- src/foschema/fop-configuration.xsd | 185 +++++++++++------- 3 files changed, 127 insertions(+), 79 deletions(-) diff --git a/src/documentation/content/xdocs/trunk/configuration.xml b/src/documentation/content/xdocs/trunk/configuration.xml index 53a48b2e8..99b92c7d3 100644 --- a/src/documentation/content/xdocs/trunk/configuration.xml +++ b/src/documentation/content/xdocs/trunk/configuration.xml @@ -221,6 +221,20 @@ ]]> +

+ Another (optional) setting specific to the PDF Renderer is an output color profile, an ICC + color profile which indicates the target color space the PDF file is generated for. This + setting is mainly used in conjunction with the PDF/X feature. + An example: +

+ + C:\FOP\Color\EuropeISOCoatedFOGRA27.icc + + ]]>
Special Settings for the PostScript Renderer diff --git a/src/documentation/content/xdocs/trunk/pdfx.xml b/src/documentation/content/xdocs/trunk/pdfx.xml index 7a526f8f6..cf796c74d 100644 --- a/src/documentation/content/xdocs/trunk/pdfx.xml +++ b/src/documentation/content/xdocs/trunk/pdfx.xml @@ -108,9 +108,10 @@ Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF, userAgent);
  • Don't use CMYK images without an ICC color profile. PDF/X doesn't allow mixing color spaces and FOP currently only properly supports the sRGB color space. However, - you will need to specify an output device profile (usually a CMYK profile) in the - configuration. sRGB won't work here since it's a display device profile, not an - output device profile. + you will need to specify an + output device profile + (usually a CMYK profile) in the configuration. sRGB won't work here since it's a + display device profile, not an output device profile.
  • Don't use non-RGB colors in SVG images. Same issue as with CMYK images. diff --git a/src/foschema/fop-configuration.xsd b/src/foschema/fop-configuration.xsd index 2cc0fca56..f1e792858 100644 --- a/src/foschema/fop-configuration.xsd +++ b/src/foschema/fop-configuration.xsd @@ -60,126 +60,159 @@ - + - - - This type is stricter than required by FOP, in that it imposes an + + This type is stricter than required by FOP, in that it imposes an order of the elements, which is not required by FOP. - - + + - - - filterLists are used by the PDF renderer, MIME type - application/pdf. - - - - - - - - - - - - - - - - - - auto-rotate-landscape is used by the PostScript renderer, - MIME type application/postscript. - - - - - - - - - - rendering and text-rendering are used by the PCL renderer, + + Configuration elements used by the PDF renderer, + MIME type application/pdf + + + + filterLists are used by the PDF renderer, MIME type + application/pdf. + + + + + + + + + + + + + + + + + + + + + + + + Output color profile used by the PDF renderer. Specifies a + filename to an ICC file. + + + + + + Configuration elements used by the PostScript renderer, + MIME type application/postscript + + + + auto-rotate-landscape is used by the PostScript renderer, + MIME type application/postscript. + + + + + + + + + + + + rendering and text-rendering are used by the PCL renderer, MIME type application/vnd.hp-PCL - - + + - - + + - - + + + + + The elements in this sequence apply only to the text renderer, + MIME type text/plain. + + + - - + + + + + + + + - + - - + - - - + + + - + + - - - - + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - -- 2.39.5