diff options
author | Jeremias Maerki <jeremias@apache.org> | 2008-02-07 14:02:44 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2008-02-07 14:02:44 +0000 |
commit | 575826b283fa659929204c63905e05fe2e2cf5f5 (patch) | |
tree | 917b9bc7eebceb5e4dec3c5c33f1ad3576f6e2b4 /src/documentation/content/xdocs | |
parent | 448befc115b005dc2a07391182179c686a91d25f (diff) | |
download | xmlgraphics-fop-575826b283fa659929204c63905e05fe2e2cf5f5.tar.gz xmlgraphics-fop-575826b283fa659929204c63905e05fe2e2cf5f5.zip |
Added an option to disable the default sRGB profile in PDF output for those who don't care about color fidelity, but care about PDF file size. Note that this option is not possible if PDF/A, PDF/X or an output profile is used. Makes simple PDFs about 4KB smaller. Ha!
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619417 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/documentation/content/xdocs')
-rw-r--r-- | src/documentation/content/xdocs/trunk/configuration.xml | 18 | ||||
-rw-r--r-- | src/documentation/content/xdocs/trunk/output.xml | 2 |
2 files changed, 18 insertions, 2 deletions
diff --git a/src/documentation/content/xdocs/trunk/configuration.xml b/src/documentation/content/xdocs/trunk/configuration.xml index 410b17098..e82a6e862 100644 --- a/src/documentation/content/xdocs/trunk/configuration.xml +++ b/src/documentation/content/xdocs/trunk/configuration.xml @@ -277,7 +277,23 @@ <output-profile>C:\FOP\Color\EuropeISOCoatedFOGRA27.icc</output-profile> <fonts.... - </renderer>]]></source> + </renderer>]]></source> + <p> + Some people don't have high requirements on color fidelity but instead want the smallest + PDF file sizes possible. In this case it's possible to disable the default sRGB color space + which XSL-FO requires. This will cause RGB colors to be generated as device-specific RGB. + Please note that this option is unavailable (and will cause an error) if you enable + PDF/A or PDF/X functionality or if you specify an output profile. This setting will make the + PDF about 4KB smaller. To disable the sRGB color space add the following setting: + </p> + <source><![CDATA[ + <renderer mime="application/pdf"> + <filterList... + + <disable-srgb-colorspace>true</disable-srgb-colorspace> + + <fonts.... + </renderer>]]></source> </section> <section id="ps-renderer"> <title>Special Settings for the PostScript Renderer</title> diff --git a/src/documentation/content/xdocs/trunk/output.xml b/src/documentation/content/xdocs/trunk/output.xml index 663168a3c..d6021414f 100644 --- a/src/documentation/content/xdocs/trunk/output.xml +++ b/src/documentation/content/xdocs/trunk/output.xml @@ -105,7 +105,7 @@ out = proc.getOutputStream();]]></source> <section id="pdf-postprocess"> <title>Post-processing</title> <p> - FOP does not currently support several desirable PDF features: XMP metadata and watermarks. + FOP does not currently support several desirable PDF features: watermarks and signatures. One workaround is to use Adobe Acrobat (the full version, not the Reader) to process the file manually or with scripting that it supports. </p> |