aboutsummaryrefslogtreecommitdiffstats
path: root/src/documentation
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2009-09-16 19:38:13 +0000
committerJeremias Maerki <jeremias@apache.org>2009-09-16 19:38:13 +0000
commit19e71503b1774789793a0cbb50ed09ccd367b7c1 (patch)
tree98d84bd3f36680299b71e4ac477f328d57e1e879 /src/documentation
parent1097615c5167889588e13507381496f18b430eb8 (diff)
downloadxmlgraphics-fop-19e71503b1774789793a0cbb50ed09ccd367b7c1.tar.gz
xmlgraphics-fop-19e71503b1774789793a0cbb50ed09ccd367b7c1.zip
Added support for the #CMYK pseudo-profile supported by some commercial XSL implementations on the rgb-icc() function.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@815938 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/documentation')
-rw-r--r--src/documentation/content/xdocs/trunk/extensions.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/documentation/content/xdocs/trunk/extensions.xml b/src/documentation/content/xdocs/trunk/extensions.xml
index a635205d2..107f6c5b3 100644
--- a/src/documentation/content/xdocs/trunk/extensions.xml
+++ b/src/documentation/content/xdocs/trunk/extensions.xml
@@ -226,6 +226,23 @@ to following pages. Here is an example of FO code creating such a table-header:<
color space the CMYK value is converted to an sRGB value.
</p>
</section>
+ <section id="pseudo-color-profiles">
+ <title>#CMYK pseudo-profile</title>
+ <p><code>color rgb-icc(numeric, numeric, numeric, #CMYK, numeric, numeric, numeric, numeric)</code></p>
+ <p>
+ The <code>rgb-icc</code> function will respond to a pseudo-profile called "#CMYK"
+ which indicates a device-specific CMYK color space. The "#CMYK" profile is implicitely
+ available and doesn't have to be (and cannot be) defined through an
+ <code>fo:color-profile</code> element. It is provided for compatibility with certain
+ commercial XSL-FO implementations. Please note that this is not part of the official
+ specification but rather a convention. The following two color specifications are
+ equivalent:
+ </p>
+ <ul>
+ <li><code>cmyk(0%,0%,20%,40%)</code></li>
+ <li><code>rgb-icc(153, 153, 102, #CMYK, 0, 0, 0.2, 0.4)</code></li>
+ </ul>
+ </section>
</section>
<section id="prepress">
<title>Prepress Support</title>