aboutsummaryrefslogtreecommitdiffstats
path: root/fop
diff options
context:
space:
mode:
authorSimon Steiner <ssteiner@apache.org>2022-09-01 10:00:43 +0000
committerSimon Steiner <ssteiner@apache.org>2022-09-01 10:00:43 +0000
commit02656ec73867455a217091cb60f6c8c1f25caa59 (patch)
tree5cc322e7502753792fb917e4d3f6676d27265cf3 /fop
parentc974d14e5c8c1fc8fb2b869939613ded4d46745d (diff)
downloadxmlgraphics-fop-02656ec73867455a217091cb60f6c8c1f25caa59.tar.gz
xmlgraphics-fop-02656ec73867455a217091cb60f6c8c1f25caa59.zip
FOP-3091: Add transparency color support for PDF CMYK
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1903804 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'fop')
-rw-r--r--fop/test/layoutengine/standard-testcases/color_1.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/fop/test/layoutengine/standard-testcases/color_1.xml b/fop/test/layoutengine/standard-testcases/color_1.xml
index e10f46d19..436b5c4e8 100644
--- a/fop/test/layoutengine/standard-testcases/color_1.xml
+++ b/fop/test/layoutengine/standard-testcases/color_1.xml
@@ -42,6 +42,8 @@
<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>
<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:block color="rgb-icc(153,153,0.0,#Separation,,Postgelb)">color "rgb-icc(1.0,0.8,0.0,#Separation,,Postgelb)" (Khaki)</fo:block>
+ <fo:block color="fox-rgb-icc(153, 153, 102, 102, #CMYK, 0, 0, 0.2, 0.4)">color "fox-rgb-icc(153, 153, 102, 102, #CMYK, 0, 0, 0.2, 0.4)" (Khaki)</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
@@ -58,5 +60,7 @@
<eval expected="#00ff00" xpath="//block[5]//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.4,#CMYK,,0.0,0.0,0.2,0.4)" xpath="//block[7]//text/@color"/>
+ <eval expected="fop-rgb-icc(0.6,0.6,0.0,#Separation,,Postgelb)" xpath="//block[8]//text/@color"/>
+ <eval expected="fop-rgb-icc(0.6,0.6,0.4,#alpha,0.4,#CMYK,,0.0,0.0,0.2,0.4)" xpath="//block[9]//text/@color"/>
</checks>
</testcase>