diff options
author | Jeremias Maerki <jeremias@apache.org> | 2009-09-16 19:38:13 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2009-09-16 19:38:13 +0000 |
commit | 19e71503b1774789793a0cbb50ed09ccd367b7c1 (patch) | |
tree | 98d84bd3f36680299b71e4ac477f328d57e1e879 /test/layoutengine/standard-testcases | |
parent | 1097615c5167889588e13507381496f18b430eb8 (diff) | |
download | xmlgraphics-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 'test/layoutengine/standard-testcases')
-rw-r--r-- | test/layoutengine/standard-testcases/color_1.xml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/layoutengine/standard-testcases/color_1.xml b/test/layoutengine/standard-testcases/color_1.xml index 0eb08f8b1..27086a41d 100644 --- a/test/layoutengine/standard-testcases/color_1.xml +++ b/test/layoutengine/standard-testcases/color_1.xml @@ -41,9 +41,7 @@ <fo:block color="rgb-icc(100%,50%,0%, sRGB, 1, 0.5, 0)">color "rgb-icc(100%,50%,0%, sRGB, 1, 0.5, 0)"</fo:block> <fo:block color="rgb-icc(0%,100%,0%, unknown, 1, 0.5, 0)">color "rgb-icc(0%,100%,0%, unknown, 1, 0.5, 0)"</fo:block> <fo:block color="cmyk(0%,0%,20%,40%)">color "cmyk(0%,0%,20%,40%)" (Khaki)</fo:block> - <!-- NYI <fo:block color="rgb-icc(153, 153, 102, #CMYK, 0, 0, 0.2, 0.4)">color "rgb-icc(153, 153, 102, #CMYK, 0, 0, 0.2, 0.4)" (Khaki)</fo:block> - --> </fo:flow> </fo:page-sequence> </fo:root> @@ -58,6 +56,7 @@ <eval expected="#ff8000" xpath="//block[3]//text/@color"/> <eval expected="fop-rgb-icc(1.0,0.5,0.0,sRGB,"../../../src/java/org/apache/fop/pdf/sRGB Color Space Profile.icm",1.0,0.5,0.0)" xpath="//block[4]//text/@color"/> <eval expected="#00ff00" xpath="//block[5]//text/@color"/> - <eval expected="cmyk(0.0,0.0,0.2,0.4)" xpath="//block[6]//text/@color"/> + <eval expected="fop-rgb-icc(0.6,0.6,0.48000002,#CMYK,,0.0,0.0,0.2,0.4)" xpath="//block[6]//text/@color"/> + <eval expected="fop-rgb-icc(0.6,0.6,0.48000002,#CMYK,,0.0,0.0,0.2,0.4)" xpath="//block[7]//text/@color"/> </checks> </testcase> |