Add color/ directory to test case repository.

Files are renamed from the foxit drop to match our
conventions, removing spaces and odd punctuation, making
lower case, and using _ as a separator.

Expected output files are generated from build at 74b81d9,
will ask for verification after commit.

R=thestig@chromium.org

Review URL: https://codereview.chromium.org/1019373002
diff --git a/fx/color/2_color_calrgb.pdf b/fx/color/2_color_calrgb.pdf
new file mode 100644
index 0000000..5e1ab4a
--- /dev/null
+++ b/fx/color/2_color_calrgb.pdf
@@ -0,0 +1,210 @@
+%PDF-1.7	

+

+1 0 obj		

+<<

+	/Type /Pages

+	/Kids [2 0 R]		

+	/Count 1

+>>

+endobj

+

+2 0 obj		

+<<

+	/Type /Page 

+	/Parent 1 0 R				

+	/MediaBox [0 0 612 792]		

+	/Contents [4 0 R]	

+	/Resources <<

+		/Font <</F1 5 0 R /F2 10 0 R>>

+		/ColorSpace<</CS1 6 0 R /CS2 7 0 R /CS3 8 0 R>>

+		/ExtGState<</GS1 9 0 R>>

+	>>			

+	

+>>

+endobj

+

+3 0 obj		

+<<

+	/Type /Catalog

+	/Pages 1 0 R	

+>>

+endobj

+

+4 0 obj		

+<<

+	/Length 0		 

+					

+>> stream

+% Title

+q

+/CS2 cs 0.4 0.3 0.2 sc

+BT

+/F1 50 Tf

+180 700 TD 

+(CalRGB)Tj

+/F1 20 Tf

+-90 -60 TD

+(Gamma   Matrix   Device)Tj

+ET

+Q

+

+% calRGB .4 .3 .2

+q

+1 0 0 1 30 570 cm

+/CS1 cs 0.4 0.3 0.2 sc 0 0 50 50 re f

+/CS2 cs 0.4 0.3 0.2 sc 75 0 50 50 re f

+0.4 0.3 0.2 rg 225 0 50 50 re f

+/CS3 cs 0.4 0.3 0.2 sc 150 0 50 50 re f

+BT

+/F1 35 Tf 300 0 TD (.4 .3 .2)Tj

+ET

+Q

+

+% calRGB .5 .5 .5

+q

+1 0 0 1 30 500 cm

+/CS1 cs 0.5 0.5 0.5 sc 0 0 50 50 re f

+/CS2 cs 0.5 0.5 0.5 sc 75 0 50 50 re f

+0.5 0.5 0.5 rg 225 0 50 50 re f

+/CS3 cs 0.5 0.5 0.5 sc 150 0 50 50 re f

+BT

+/F1 35 Tf 300 0 TD (.5 .5 .5)Tj

+ET

+Q

+

+% calRGB .8 .3 .5

+q

+1 0 0 1 30 430 cm

+/CS1 cs .8 .3 .5 sc 0 0 50 50 re f

+/CS2 cs .8 .3 .5 sc 75 0 50 50 re f

+.8 .3 .5 rg 225 0 50 50 re f

+/CS3 cs .8 .3 .5 sc 150 0 50 50 re f

+BT

+/F1 35 Tf 300 0 TD (.8 .3 .5)Tj

+ET

+Q

+

+% calRGB .6 .5 .7

+q

+1 0 0 1 30 360 cm

+/CS1 cs .6 .5 .7 sc 0 0 50 50 re f

+/CS2 cs .6 .5 .7 sc 75 0 50 50 re f

+.6 .5 .7 rg 225 0 50 50 re f

+/CS3 cs .6 .5 .7 sc 150 0 50 50 re f

+BT

+/F1 35 Tf 300 0 TD (.6 .5 .7)Tj

+ET

+Q

+% calRGB R

+q

+1 0 0 1 30 220 cm

+/CS1 cs 1 0 0 sc 0 0 50 50 re f

+/CS2 cs 1 0 0 sc 50 0 50 50 re f

+1 0 0 rg 150 0 50 50 re f

+/CS3 cs 1 0 0 sc 100 0 50 50 re f

+BT 

+/F1 35 Tf 50 55 TD (Red)Tj

+ET

+Q

+

+% calRGB G

+q

+1 0 0 1 270 220 cm

+/CS1 cs 0 1 0 sc 0 0 50 50 re f

+/CS2 cs 0 1 0 sc 50 0 50 50 re f

+0 1 0 rg 150 0 50 50 re f

+/CS3 cs 0 1 0 sc 100 0 50 50 re f

+

+BT

+/F2 30 Tf 50 55 TD (Green)Tj

+ET

+Q

+

+% calRGB B

+q

+1 0 0 1 30 120 cm

+/CS3 CS 0 0 1 SC

+/CS1 cs 0 0 1 sc 0 0 50 50 re f

+/CS2 cs 0 0 1 sc 50 0 50 50 re f

+0 0 1 rg 150 0 50 50 re f

+/CS3 cs 0 0 1 sc 100 0 50 50 re f

+BT

+/F2 35 Tf 50 55 TD (Blue)Tj

+ET

+Q

+

+% calRGB B

+q

+1 0 0 1 270 120 cm

+/CS1 cs 0 0 0 sc 0 0 50 50 re b

+/CS2 cs 0 0 0 sc 50 0 50 50 re b

+0 0 0 rg 150 0 50 50 re b

+/CS3 cs 0 0 0 sc 100 0 50 50 re b

+BT

+/F1 35 Tf 50 55 TD (Black)Tj

+ET

+Q

+

+endstream

+endobj

+

+5 0 obj

+<<

+	/Type /Font

+	/Subtype /Type1

+	/BaseFont /Helvetica

+>>

+endobj

+

+10 0 obj

+<<

+	/Type /Font

+	/Subtype /Type1

+	/BaseFont /Courier

+>>

+endobj

+

+6 0 obj

+[/CalRGB <<%/WhitePoint [1.0 1.0 0.5 ]

+/WhitePoint [0.905 1.0 1.0890 ]

+>>

+]

+endobj

+

+7 0 obj

+[/CalRGB <<%/WhitePoint [1.0 1.0 0.5 ]

+/WhitePoint [0.905 1.0 1.0890 ]

+/Gamma [1.800000 1.800000 1.800000 ]

+>>

+]

+endobj

+

+8 0 obj

+[/CalRGB <<%/WhitePoint [1.0 1.0 0.5 ]

+/WhitePoint [0.905 1.0 1.0890 ]

+/Gamma [1.800000 1.800000 1.800000 ]

+/Matrix  [0.4497 0.2446 0.0252  0.3163 0.6720 0.1412 0.1845 0.0833 0.9227]

+>>

+]

+endobj

+

+9 0 obj

+<<

+/ca 0.5

+>>

+endobj

+

+xref	

+		

+

+trailer	

+<<

+	/Size 0		

+	/Root 3 0 R	

+>>

+

+startxref

+0		

+

+%%EOF	

+ 
\ No newline at end of file
diff --git a/fx/color/2_color_calrgb_expected.pdf.0.png b/fx/color/2_color_calrgb_expected.pdf.0.png
new file mode 100644
index 0000000..2d31116
--- /dev/null
+++ b/fx/color/2_color_calrgb_expected.pdf.0.png
Binary files differ
diff --git a/fx/color/2_color_indexed.pdf b/fx/color/2_color_indexed.pdf
new file mode 100644
index 0000000..c6f572b
--- /dev/null
+++ b/fx/color/2_color_indexed.pdf
@@ -0,0 +1,236 @@
+%PDF-1.7	

+

+1 0 obj		

+<<

+	/Type /Pages

+	/Kids [2 0 R]		

+	/Count 1

+>>

+endobj

+

+2 0 obj		

+<<

+	/Type /Page 

+	/Parent 1 0 R				

+	/MediaBox [0 0 531 666]		

+	/Contents [4 0 R]	

+	/Resources <<

+		/Font <</F1 5 0 R>>

+		/ColorSpace<</CS1 6 0 R /CS2 7 0 R /CS3 8 0 R 

+			     /CS4 9 0 R /CS5 11 0 R /CS6 14 0 R 

+			     /CS7 16 0 R /CS8 18 0 R /CS9 21 0 R>>

+	>>			

+	

+>>

+endobj

+

+3 0 obj		

+<<

+	/Type /Catalog

+	/Pages 1 0 R	

+>>

+endobj

+

+4 0 obj		

+<<

+	/Length 0		 

+					

+>> stream

+BT /F1 25 Tf 180 580 TD (Indexed)Tj

+/F1 15 Tf -160 -55 TD (DeviceRGB)Tj

+130 0 TD (DeviceCMYK)Tj

+130 0 TD (DeviceGray)Tj

+-260 -100 TD (CalRGB)Tj

+130 0 TD (Iccbased-3)Tj

+130 0 TD (CalGray)Tj

+-260 -100 TD (Lab)Tj

+130 0 TD (Separation)Tj

+130 0 TD (DeviceN)Tj

+ET

+

+q 1 0 0 1 0 460 cm

+/CS1 cs 3 scn 20 0 70 60 re f

+/CS2 cs 3 scn 150 0 70 60 re f

+/CS3 cs 3 scn 280 0 70 60 re f

+Q

+

+q 1 0 0 1 0 360 cm

+/CS4 cs 3 scn 20 0 70 60 re f

+/CS5 cs 3 scn 150 0 70 60 re f

+/CS6 cs 3 scn 280 0 70 60 re f

+Q

+

+q 1 0 0 1 0 260 cm

+/CS7 cs 0 scn 20 0 70 60 re b

+/CS8 cs 3 scn 150 0 70 60 re f

+/CS9 cs 3 scn 280 0 70 60 re f

+Q

+

+endstream

+endobj

+

+5 0 obj

+<<

+	/Type /Font

+	/Subtype /Type1

+	/BaseFont /Helvetica

+>>

+endobj

+

+6 0 obj

+[/Indexed /DeviceRGB 4 <000000 010101 445522 889944 558866>]

+endobj

+

+7 0 obj

+[/Indexed /DeviceCMYK 4 <01050809 55886622 44556622 7F00007F 88559922>]

+endobj

+

+8 0 obj

+[/Indexed /DeviceGray 5 <05 A2 B5 C1 55 66>]

+endobj

+

+9 0 obj

+[/Indexed 10 0 R 5 <000000 010101 445522 889944 558866 AABBCC>]

+endobj

+

+10 0 obj

+[/CalRGB <<%/WhitePoint [1.0 1.0 0.5 ]

+/WhitePoint [0.905 1.0 1.0890 ]

+/Gamma [1.800000 1.800000 1.800000 ]

+/Matrix  [0.4497 0.2446 0.0252  0.3163 0.6720 0.1412 0.1845 0.0833 0.9227]

+>>

+]

+endobj

+

+11 0 obj

+[/Indexed 12 0 R 5 <000000 010101 445522 889944 558866 AABBCC>]

+endobj

+

+12 0 obj% Color space

+[ /ICCBased 13 0 R ]

+endobj

+

+13 0 obj% ICC profile stream

+<< /N 3

+%/Alternate /DeviceRGB

+/Length 0

+/Filter /ASCIIHexDecode

+>>

+stream

+00 00 02 0C 61 70 70 6C 02 00 00 00 6D 6E 74 72

+52 47 42 20 58 59 5A 20 07 CB 00 02 00 16 00 0E

+00 22 00 2C 61 63 73 70 41 50 50 4C 00 00 00 00

+61 70 70 6C 00 00 04 01 00 00 00 00 00 00 00 02

+00 00 00 00 00 00 F6 D4 00 01 00 00 00 00 D3 2B

+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

+00 00 00 09 64 65 73 63 00 00 00 F0 00 00 00 71

+72 58 59 5A 00 00 01 64 00 00 00 14 67 58 59 5A

+00 00 01 78 00 00 00 14 62 58 59 5A 00 00 01 8C

+00 00 00 14 72 54 52 43 00 00 01 A0 00 00 00 0E

+67 54 52 43 00 00 01 B0 00 00 00 0E 62 54 52 43

+00 00 01 C0 00 00 00 0E 77 74 70 74 00 00 01 D0

+00 00 00 14 63 70 72 74 00 00 01 E4 00 00 00 27

+64 65 73 63 00 00 00 00 00 00 00 17 41 70 70 6C

+65 20 31 33 22 20 52 47 42 20 53 74 61 6E 64 61

+72 64 00 00 00 00 00 00 00 00 00 00 00 17 41 70

+70 6C 65 20 31 33 22 20 52 47 42 20 53 74 61 6E

+64 61 72 64 00 00 00 00 00 00 00 00 00 00 00 00

+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

+00 58 59 5A 58 59 5A 20 00 00 00 00 00 00 63 0A

+00 00 35 0F 00 00 03 30 58 59 5A 20 00 00 00 00

+00 00 53 3D 00 00 AE 37 00 00 15 76 58 59 5A 20

+00 00 00 00 00 00 40 89 00 00 1C AF 00 00 BA 82

+63 75 72 76 00 00 00 00 00 00 00 01 01 CC 63 75

+63 75 72 76 00 00 00 00 00 00 00 01 01 CC 63 75

+63 75 72 76 00 00 00 00 00 00 00 01 01 CC 58 59

+58 59 5A 20 00 00 00 00 00 00 F3 1B 00 01 00 00

+00 01 67 E7 74 65 78 74 00 00 00 00 20 43 6F 70

+79 72 69 67 68 74 20 41 70 70 6C 65 20 43 6F 6D

+70 75 74 65 72 73 20 31 39 39 34 00 >

+endstream

+endobj

+

+14 0 obj

+[/Indexed 15 0 R 5 <05 A2 B5 C1 55 66>]

+endobj

+

+15 0 obj

+[/CalGray <<

+/WhitePoint [0.9505 1.0000 1.0890 ]

+/Gamma 2.222000 

+>>

+]endobj

+

+16 0 obj

+[/Indexed 17 0 R 5 <FF7F7F 64007F 000000 64807F 647F7F 008080>]

+endobj

+

+17 0 obj

+[/Lab << /WhitePoint [ 0.9642 1 0.82491 ] /Range [ -128 127 -128 127 ] >> ]

+endobj

+

+18 0 obj

+[/Indexed 19 0 R 5<00 22 5A 65 58 85>]

+endobj

+

+19 0 obj		

+[/Separation /LogoGreen /DeviceCMYK 20 0 R]

+endobj

+

+20 0 obj		

+<< 

+/FunctionType 4

+/Domain [0.0 1.0]

+/Range [0.0 1.0 0.0 1.0 0.0 1.0 0.0 1.0 ]

+/Length 0

+>>

+stream

+{  dup 0.84 mul

+exch 0.00 exch dup 0.44 mul

+exch 0.21 mul

+}

+endstream

+endobj

+

+21 0 obj

+[/Indexed 22 0 R 5 <5544 8899 6622 7F7F AACC FFDD>]

+endobj

+

+22 0 obj

+[/DeviceN 

+	[/Cyan /Black] 

+	/DeviceCMYK 

+	23 0 R	

+]	

+endobj

+

+23 0 obj		

+<< 

+/FunctionType 4

+/Domain [0.0 1.0 0.0 1.0]

+/Range [0.0 1.0 0.0 1.0 0.0 1.0 0.0 1.0 ]

+/Length 0

+>>

+stream

+{0 0 3 -1 roll} 

+endstream

+endobj

+

+

+xref	

+		

+

+trailer	

+<<

+	/Size 0		

+	/Root 3 0 R	

+>>

+

+startxref

+0		

+

+%%EOF	

+ 
\ No newline at end of file
diff --git a/fx/color/2_color_indexed_expected.pdf.0.png b/fx/color/2_color_indexed_expected.pdf.0.png
new file mode 100644
index 0000000..5734814
--- /dev/null
+++ b/fx/color/2_color_indexed_expected.pdf.0.png
Binary files differ
diff --git a/fx/color/2_color_lab.pdf b/fx/color/2_color_lab.pdf
new file mode 100644
index 0000000..0d7fa47
--- /dev/null
+++ b/fx/color/2_color_lab.pdf
@@ -0,0 +1,150 @@
+%PDF-1.4	

+

+1 0 obj		

+<<

+	/Type /Pages

+	/Kids [2 0 R]		

+	/Count 1

+>>

+endobj

+

+2 0 obj		

+<<

+	/Type /Page 

+	/Parent 1 0 R				

+	/MediaBox [0 0 612 792]		

+	/Contents [4 0 R]	

+	/Resources <<

+		/Font <</F1 5 0 R>>

+		/ColorSpace<</CS1 6 0 R /CS2 7 0 R>>

+	>>			

+	

+>>

+endobj

+

+3 0 obj		

+<<

+	/Type /Catalog

+	/Pages 1 0 R	

+>>

+endobj

+

+4 0 obj		

+<<

+	/Length 0		 

+					

+>> stream

+

+% lab blue

+q

+1 0 0 1 10 650 cm

+/CS2 cs 0 0 -128 sc

+0 0 50 50 re f

+

+BT /F1 50 Tf 2 Tr 70 0 TD (lab blue)Tj

+ET

+Q

+

+% lab white

+q

+1 0 0 1 10 550 cm

+/CS2 cs 100 0 0 sc 

+0 0 50 50 re b

+BT

+/F1 50 Tf

+2 Tr

+70 0 TD 

+(lab white)Tj %; Yellow? No)Tj

+ET

+Q

+

+% lab green

+q

+1 0 0 1 10 450 cm

+/CS2 cs 100 -128 127 sc 

+0 0 50 50 re f

+BT

+/F1 50 Tf

+2 Tr

+70 0 TD 

+(lab green)Tj

+ET

+Q

+

+% lab red

+q

+1 0 0 1 10 350 cm

+/CS2 cs 100 127 127 sc 

+0 0 50 50 re f

+BT

+/F1 50 Tf

+2 Tr

+70 0 TD 

+(lab red)Tj

+ET

+Q

+

+% lab yellow

+q

+1 0 0 1 10 250 cm

+/CS2 cs 100 0 127 sc 

+0 0 50 50 re f

+BT

+/F1 50 Tf

+2 Tr

+70 0 TD 

+(lab yellow)Tj

+ET

+Q

+

+% lab black

+q

+1 0 0 1 10 150 cm

+/CS2 cs 0 0 0 sc 

+0 0 50 50 re f

+BT

+/F1 50 Tf

+2 Tr

+70 0 TD 

+(lab black)Tj

+ET

+Q

+

+endstream

+endobj

+

+5 0 obj

+<<

+	/Type /Font

+	/Subtype /Type1

+	/BaseFont /Helvetica

+>>

+endobj

+

+6 0 obj

+[/Lab <</WhitePoint [0.9505 1.000 1.0890 ]

+/Range [-128 127 -128 127 ]

+>>

+]

+endobj

+

+7 0 obj

+[ 

+/Lab << /WhitePoint [ 0.9642 1 0.82491 ] /Range [ -128 127 -128 127 ] >> 

+]

+endobj

+

+xref	

+		

+

+trailer	

+<<

+	/Size 0		

+	/Root 3 0 R	

+>>

+

+startxref

+0		

+

+%%EOF	

+ 
\ No newline at end of file
diff --git a/fx/color/2_color_lab_expected.pdf.0.png b/fx/color/2_color_lab_expected.pdf.0.png
new file mode 100644
index 0000000..53ada5b
--- /dev/null
+++ b/fx/color/2_color_lab_expected.pdf.0.png
Binary files differ
diff --git a/fx/color/color.pdf b/fx/color/color.pdf
new file mode 100644
index 0000000..4dd41d9
--- /dev/null
+++ b/fx/color/color.pdf
@@ -0,0 +1,245 @@
+%PDF-1.4

+

+1 0 obj

+<<

+  /Type /Catalog

+  /Outlines 6 0 R

+  /Pages 2 0 R

+>>

+endobj

+

+

+

+

+2 0 obj

+<<

+  /Type /Pages

+  /Kids [3 0 R]

+  /Count 1

+>>

+endobj

+

+

+

+

+3 0 obj

+<<

+  /Type /Page

+  /Parent 2 0 R

+  /MediaBox [0 0 612 792]

+  /Contents 4 0 R

+  /Resources 

+	<<

+		/Font<</Font1 5 0 R>> 

+		/ExtGState <</GS0 10 0 R >>

+	>>  

+>>

+endobj

+

+10 0 obj

+<<

+  /Type /ExtGState 

+  /OPM 0 

+  /OP true

+  /BG2 /Default 

+  /op true

+  /SA true 

+  /UCR2 /Default 

+  /SM 0.02 

+>>

+endobj

+

+

+

+

+4 0 obj

+<<

+  /Length 0

+>>stream

+

+%========================================

+

+%------------use rg,RG operator---------

+q

+1 0 0 1 280.6900177 589.1760712 cm

+1 0 0 rg

+0 1 0 RG 

+

+1.5 i 

+/GS0 gs

+0 0 m

+0 8.346 11.333 15.112 25.313 15.112 c

+39.293 15.112 50.625 8.346 50.625 0 c

+50.625 -8.346 39.293 -15.113 25.313 -15.113 c

+11.333 -15.113 0 -8.346 0 0 c

+B

+Q

+

+

+%-------------use g,G operator ----------

+q

+1 0 0 1 278.6723633 541.2434082 cm

+0.9 g

+0.1 G

+1.5 i 

+/GS0 gs

+0 0 m

+0 8.347 11.332 15.113 25.312 15.113 c

+39.292 15.113 50.624 8.347 50.624 0 c

+50.624 -8.346 39.292 -15.111 25.312 -15.111 c

+11.332 -15.111 0 -8.346 0 0 c

+B

+Q

+

+

+%------------use cs,CS,scn,SCN operator--------- 

+q

+1 0 0 1 279.1769104 494.3228912 cm

+/DeviceRGB cs

+/DeviceRGB CS

+0 0 1 scn

+0 1 0 SCN

+

+1.5 i 

+/GS0 gs

+0 0 m

+0 8.346 11.332 15.112 25.312 15.112 c

+39.292 15.112 50.624 8.346 50.624 0 c

+50.624 -8.346 39.292 -15.113 25.312 -15.113 c

+11.332 -15.113 0 -8.346 0 0 c

+b

+Q

+

+

+%------------ use k,K operator ----------

+q

+1 0 0 1 361.416153 586.6534271 cm

+1 0 0 0 k

+0 1 0 0 K

+1.5 i 

+/GS0 gs

+0 0 m

+0 8.345 11.332 15.111 25.311 15.111 c

+39.292 15.111 50.625 8.345 50.625 0 c

+50.625 -8.346 39.292 -15.112 25.311 -15.112 c

+11.332 -15.112 0 -8.346 0 0 c

+B

+Q

+

+

+%------------use cs,CS, sc,SC ----------------

+q

+1 0 0 1 360.4065857 539.2262268 cm

+/DeviceCMYK cs

+/DeviceCMYK CS

+0 1 0 0 sc

+0 0 0 1 SC

+1.5 i 

+/GS0 gs

+0 0 m

+0 8.346 11.333 15.112 25.313 15.112 c

+39.293 15.112 50.626 8.346 50.626 0 c

+50.626 -8.346 39.293 -15.112 25.313 -15.112 c

+11.333 -15.112 0 -8.346 0 0 c

+B

+Q

+

+

+

+q

+1 0 0 1 357.8849182 489.2774811 cm

+0 0 1 0 k

+1.5 i 

+/GS0 gs

+0 0 m

+0 8.345 11.332 15.111 25.312 15.111 c

+39.292 15.111 50.624 8.345 50.624 0 c

+50.624 -8.346 39.292 -15.112 25.312 -15.112 c

+11.332 -15.112 0 -8.346 0 0 c

+f

+Q

+

+q

+1 0 0 1 350 300 cm

+/DeviceRGB cs

+1 0 0 sc

+0 0 50 50 re

+f

+Q

+

+

+q

+1 0 0 1 350 250 cm

+/DeviceGray cs

+0.5 sc

+0 0 50 50 re

+f

+Q

+

+

+

+%=========================================

+

+BT

+  /Font1 12 Tf

+  200 460 TD

+  0 Tr

+  (color space) Tj

+

+ET

+

+endstream

+endobj

+

+

+

+

+

+5 0 obj

+<<

+  /Type /Font

+  /Subtype /Type1

+  /BaseFont /Helvetica

+>>

+endobj

+

+

+

+

+6 0 obj

+<<

+  /Type /Outlines

+  /First 7 0 R

+  /Last 7 0 R

+  /Count 1

+>>

+endobj

+

+

+

+

+7 0 obj

+<<

+  /Title (examples of transformations of coordiate system)

+  /Parent 6 0 R

+  /Dest [3 0 R /Fit]

+>>

+endobj

+

+

+

+

+xref

+

+

+trailer

+<<

+  /Size 0

+  /Root 1 0 R

+>>

+

+

+startxref

+0

+

+%%EOF
\ No newline at end of file
diff --git a/fx/color/color_calgray.pdf b/fx/color/color_calgray.pdf
new file mode 100644
index 0000000..bdadf94
--- /dev/null
+++ b/fx/color/color_calgray.pdf
@@ -0,0 +1,73 @@
+%PDF-1.4	

+

+1 0 obj		

+<<

+	/Type /Pages

+	/Kids [2 0 R]		

+	/Count 1

+>>

+endobj

+

+2 0 obj		

+<<

+	/Type /Page 

+	/Parent 1 0 R				

+	/MediaBox [0 0 612 792]		

+	/Contents [4 0 R]	

+	/Resources <<

+		/Font <</F1 5 0 R>>

+		/ColorSpace<</CS1 6 0 R>>

+	>>			

+	

+>>

+endobj

+

+3 0 obj		

+<<

+	/Type /Catalog

+	/Pages 1 0 R	

+>>

+endobj

+

+4 0 obj		

+<<

+	/Length 0		 

+					

+>> stream

+/CS1 cs 0 sc

+100 500 100 100 re f

+

+

+

+endstream

+endobj

+

+5 0 obj

+<<

+	/Type /Font

+	/Subtype /Type1

+	/BaseFont /Helvetica

+>>

+endobj

+

+6 0 obj

+[/CalGray <<

+/WhitePoint [0.9505 1.0000 1.0890 ]

+%/Gamma 2.222000 

+>>

+]

+endobj

+xref	

+		

+

+trailer	

+<<

+	/Size 0		

+	/Root 3 0 R	

+>>

+

+startxref

+0		

+

+%%EOF	

+ 
\ No newline at end of file
diff --git a/fx/color/color_calgray_expected.pdf.0.png b/fx/color/color_calgray_expected.pdf.0.png
new file mode 100644
index 0000000..b239ef3
--- /dev/null
+++ b/fx/color/color_calgray_expected.pdf.0.png
Binary files differ
diff --git a/fx/color/color_calrgb.pdf b/fx/color/color_calrgb.pdf
new file mode 100644
index 0000000..d6d2674
--- /dev/null
+++ b/fx/color/color_calrgb.pdf
@@ -0,0 +1,75 @@
+%PDF-1.4	

+

+1 0 obj		

+<<

+	/Type /Pages

+	/Kids [2 0 R]		

+	/Count 1

+>>

+endobj

+

+2 0 obj		

+<<

+	/Type /Page 

+	/Parent 1 0 R				

+	/MediaBox [0 0 612 792]		

+	/Contents [4 0 R]	

+	/Resources <<

+		/Font <</F1 5 0 R>>

+		/ColorSpace<</CS1 6 0 R>>

+	>>			

+	

+>>

+endobj

+

+3 0 obj		

+<<

+	/Type /Catalog

+	/Pages 1 0 R	

+>>

+endobj

+

+4 0 obj		

+<<

+	/Length 0		 

+					

+>> stream

+/CS1 cs  0.4 0.3 0.2 sc

+200 500 100 100 re f

+

+

+

+endstream

+endobj

+

+5 0 obj

+<<

+	/Type /Font

+	/Subtype /Type1

+	/BaseFont /Helvetica

+>>

+endobj

+

+6 0 obj

+[/CalRGB <<%/WhitePoint [1.0 1.0 0.5 ]

+/WhitePoint [0.905 1.0 1.0890 ]

+/Gamma [1.800000 1.800000 1.800000 ]

+/Matrix  [0.4497 0.2446 0.0252  0.3163 0.6720 0.1412 0.1845 0.0833 0.9227]

+>>

+]

+endobj

+

+xref	

+		

+

+trailer	

+<<

+	/Size 0		

+	/Root 3 0 R	

+>>

+

+startxref

+0		

+

+%%EOF	

+ 
\ No newline at end of file
diff --git a/fx/color/color_calrgb_expected.pdf.0.png b/fx/color/color_calrgb_expected.pdf.0.png
new file mode 100644
index 0000000..d82ff58
--- /dev/null
+++ b/fx/color/color_calrgb_expected.pdf.0.png
Binary files differ
diff --git a/fx/color/color_expected.pdf.0.png b/fx/color/color_expected.pdf.0.png
new file mode 100644
index 0000000..06267cf
--- /dev/null
+++ b/fx/color/color_expected.pdf.0.png
Binary files differ
diff --git a/fx/color/color_icc_based.pdf b/fx/color/color_icc_based.pdf
new file mode 100644
index 0000000..fd9930d
--- /dev/null
+++ b/fx/color/color_icc_based.pdf
@@ -0,0 +1,114 @@
+%PDF-1.4	

+

+1 0 obj		

+<<

+	/Type /Pages

+	/Kids [2 0 R]		

+	/Count 1

+>>

+endobj

+

+2 0 obj		

+<<

+	/Type /Page 

+	/Parent 1 0 R				

+	/MediaBox [0 0 612 792]		

+	/Contents [4 0 R]	

+	/Resources <<

+		/Font <</F1 5 0 R>>

+		/ColorSpace<</CS1 10 0 R>>

+	>>			

+	

+>>

+endobj

+

+3 0 obj		

+<<

+	/Type /Catalog

+	/Pages 1 0 R	

+>>

+endobj

+

+4 0 obj		

+<<

+	/Length 0		 

+					

+>> stream

+

+/CS1 cs

+0.5  1 0 scn

+0 500 100 100 re

+b

+

+endstream

+endobj

+

+5 0 obj

+<<

+	/Type /Font

+	/Subtype /Type1

+	/BaseFont /Helvetica

+>>

+endobj

+

+

+ 

+10 0 obj% Color space

+[ /ICCBased 15 0 R ]

+endobj

+15 0 obj% ICC profile stream

+<< /N 3

+/Alternate /DeviceRGB

+/Length 0

+/Filter /ASCIIHexDecode

+>>

+stream

+00 00 02 0C 61 70 70 6C 02 00 00 00 6D 6E 74 72

+52 47 42 20 58 59 5A 20 07 CB 00 02 00 16 00 0E

+00 22 00 2C 61 63 73 70 41 50 50 4C 00 00 00 00

+61 70 70 6C 00 00 04 01 00 00 00 00 00 00 00 02

+00 00 00 00 00 00 F6 D4 00 01 00 00 00 00 D3 2B

+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

+00 00 00 09 64 65 73 63 00 00 00 F0 00 00 00 71

+72 58 59 5A 00 00 01 64 00 00 00 14 67 58 59 5A

+00 00 01 78 00 00 00 14 62 58 59 5A 00 00 01 8C

+00 00 00 14 72 54 52 43 00 00 01 A0 00 00 00 0E

+67 54 52 43 00 00 01 B0 00 00 00 0E 62 54 52 43

+00 00 01 C0 00 00 00 0E 77 74 70 74 00 00 01 D0

+00 00 00 14 63 70 72 74 00 00 01 E4 00 00 00 27

+64 65 73 63 00 00 00 00 00 00 00 17 41 70 70 6C

+65 20 31 33 22 20 52 47 42 20 53 74 61 6E 64 61

+72 64 00 00 00 00 00 00 00 00 00 00 00 17 41 70

+70 6C 65 20 31 33 22 20 52 47 42 20 53 74 61 6E

+64 61 72 64 00 00 00 00 00 00 00 00 00 00 00 00

+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

+00 58 59 5A 58 59 5A 20 00 00 00 00 00 00 63 0A

+00 00 35 0F 00 00 03 30 58 59 5A 20 00 00 00 00

+00 00 53 3D 00 00 AE 37 00 00 15 76 58 59 5A 20

+00 00 00 00 00 00 40 89 00 00 1C AF 00 00 BA 82

+63 75 72 76 00 00 00 00 00 00 00 01 01 CC 63 75

+63 75 72 76 00 00 00 00 00 00 00 01 01 CC 63 75

+63 75 72 76 00 00 00 00 00 00 00 01 01 CC 58 59

+58 59 5A 20 00 00 00 00 00 00 F3 1B 00 01 00 00

+00 01 67 E7 74 65 78 74 00 00 00 00 20 43 6F 70

+79 72 69 67 68 74 20 41 70 70 6C 65 20 43 6F 6D

+70 75 74 65 72 73 20 31 39 39 34 00 >

+endstream

+endobj

+

+xref	

+		

+

+trailer	

+<<

+	/Size 0		

+	/Root 3 0 R	

+>>

+

+startxref

+0		

+

+%%EOF	
\ No newline at end of file
diff --git a/fx/color/color_icc_based_expected.pdf.0.png b/fx/color/color_icc_based_expected.pdf.0.png
new file mode 100644
index 0000000..a6e4f63
--- /dev/null
+++ b/fx/color/color_icc_based_expected.pdf.0.png
Binary files differ
diff --git a/fx/color/color_lab.pdf b/fx/color/color_lab.pdf
new file mode 100644
index 0000000..9d7a26a
--- /dev/null
+++ b/fx/color/color_lab.pdf
@@ -0,0 +1,73 @@
+%PDF-1.4	

+

+1 0 obj		

+<<

+	/Type /Pages

+	/Kids [2 0 R]		

+	/Count 1

+>>

+endobj

+

+2 0 obj		

+<<

+	/Type /Page 

+	/Parent 1 0 R				

+	/MediaBox [0 0 612 792]		

+	/Contents [4 0 R]	

+	/Resources <<

+		/Font <</F1 5 0 R>>

+		/ColorSpace<</CS1 6 0 R>>

+	>>			

+	

+>>

+endobj

+

+3 0 obj		

+<<

+	/Type /Catalog

+	/Pages 1 0 R	

+>>

+endobj

+

+4 0 obj		

+<<

+	/Length 0		 

+					

+>> stream

+/CS1 cs 0 -100 -100 sc

+100 500 100 100 re b

+

+

+

+endstream

+endobj

+

+5 0 obj

+<<

+	/Type /Font

+	/Subtype /Type1

+	/BaseFont /Helvetica

+>>

+endobj

+

+6 0 obj

+[/Lab <</WhitePoint [0.9505 1.00 1.0890 ]

+/Range [-100 100 -100 100 ]

+>>

+]

+endobj

+

+xref	

+		

+

+trailer	

+<<

+	/Size 0		

+	/Root 3 0 R	

+>>

+

+startxref

+0		

+

+%%EOF	

+ 
\ No newline at end of file
diff --git a/fx/color/color_lab_expected.pdf.0.png b/fx/color/color_lab_expected.pdf.0.png
new file mode 100644
index 0000000..fa417de
--- /dev/null
+++ b/fx/color/color_lab_expected.pdf.0.png
Binary files differ
diff --git a/fx/color/color_separation.pdf b/fx/color/color_separation.pdf
new file mode 100644
index 0000000..2759375
--- /dev/null
+++ b/fx/color/color_separation.pdf
@@ -0,0 +1,85 @@
+%PDF-1.6	

+

+1 0 obj		

+<<

+	/Type /Pages

+	/Kids [2 0 R]		

+	/Count 1

+>>

+endobj

+

+2 0 obj		

+<<

+	/Type /Page 

+	/Parent 1 0 R				

+	/MediaBox [0 0 612 792]		

+	/Contents [4 0 R]	

+	/Resources <<		

+		/ColorSpace <</CS1 5 0 R >>

+	>>			

+	

+>>

+endobj

+

+3 0 obj		

+<<

+	/Type /Catalog

+	/Pages 1 0 R	

+>>

+endobj

+

+4 0 obj		

+<<

+	/Length 0		 

+					

+>> stream

+/DeviceCMYK cs

+0.84 0.0 0.44 0.21 sc

+%1 1 1 1 SC

+100 100 100 100 re

+B

+

+/CS1 cs

+1.0 scn

+

+200 200 100 100 re

+B

+

+endstream

+endobj

+

+5 0 obj			

+[ 

+/Separation /LogoGreen /DeviceCMYK 12 0 R

+]

+endobj

+

+12 0 obj		

+<< 

+/FunctionType 4

+/Domain [0.0 1.0]

+/Range [0.0 1.0 0.0 1.0 0.0 1.0 0.0 1.0 ]

+/Length 62

+>>

+stream

+{  dup 0.84 mul

+exch 0.00 exch dup 0.44 mul

+exch 0.21 mul

+}

+endstream

+endobj

+

+xref	

+		

+

+trailer	

+<<

+	/Size 0		

+	/Root 3 0 R	

+>>

+

+startxref

+0		

+

+%%EOF	

+ 
\ No newline at end of file
diff --git a/fx/color/color_separation_expected.pdf.0.png b/fx/color/color_separation_expected.pdf.0.png
new file mode 100644
index 0000000..34fc67f
--- /dev/null
+++ b/fx/color/color_separation_expected.pdf.0.png
Binary files differ
diff --git a/fx/color/colorspace.pdf b/fx/color/colorspace.pdf
new file mode 100644
index 0000000..8d7424e
--- /dev/null
+++ b/fx/color/colorspace.pdf
Binary files differ
diff --git a/fx/color/colorspace_expected.pdf.0.png b/fx/color/colorspace_expected.pdf.0.png
new file mode 100644
index 0000000..330c67d
--- /dev/null
+++ b/fx/color/colorspace_expected.pdf.0.png
Binary files differ
diff --git a/fx/color/colorspace_test.pdf b/fx/color/colorspace_test.pdf
new file mode 100644
index 0000000..8a250a1
--- /dev/null
+++ b/fx/color/colorspace_test.pdf
Binary files differ
diff --git a/fx/color/colorspace_test1.pdf b/fx/color/colorspace_test1.pdf
new file mode 100644
index 0000000..8d7424e
--- /dev/null
+++ b/fx/color/colorspace_test1.pdf
Binary files differ
diff --git a/fx/color/colorspace_test1_expected.pdf.0.png b/fx/color/colorspace_test1_expected.pdf.0.png
new file mode 100644
index 0000000..330c67d
--- /dev/null
+++ b/fx/color/colorspace_test1_expected.pdf.0.png
Binary files differ
diff --git a/fx/color/colorspace_test_expected.pdf.0.png b/fx/color/colorspace_test_expected.pdf.0.png
new file mode 100644
index 0000000..8783b70
--- /dev/null
+++ b/fx/color/colorspace_test_expected.pdf.0.png
Binary files differ