[latex3-commits] [latex3/fontspec] l3color: testfiles for opacity, color model, spotcolor (53d9600)
github at latex-project.org
github at latex-project.org
Sun Nov 5 20:57:35 CET 2023
Repository : https://github.com/latex3/fontspec
On branch : l3color
Link : https://github.com/latex3/fontspec/commit/53d9600c1f67fdbfbf63539ca6d0c0a629972305
>---------------------------------------------------------------
commit 53d9600c1f67fdbfbf63539ca6d0c0a629972305
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Sun Nov 5 20:57:35 2023 +0100
testfiles for opacity, color model, spotcolor
>---------------------------------------------------------------
53d9600c1f67fdbfbf63539ca6d0c0a629972305
testfiles/colour-model.luatex.tpf | 272 ++++++++++++++++++++++++++++++++++
testfiles/colour-model.pvt | 35 +++++
testfiles/colour-model.tpf | 253 +++++++++++++++++++++++++++++++
testfiles/colour-opacity.luatex.tlg | 4 +
testfiles/colour-opacity.lvt | 10 ++
testfiles/colour-opacity.tlg | 4 +
testfiles/colour-spotcolor.luatex.tpf | 113 ++++++++++++++
testfiles/colour-spotcolor.pvt | 19 +++
testfiles/colour-spotcolor.tpf | 98 ++++++++++++
9 files changed, 808 insertions(+)
diff --git a/testfiles/colour-model.luatex.tpf b/testfiles/colour-model.luatex.tpf
new file mode 100644
index 0000000..1dfa40e
--- /dev/null
+++ b/testfiles/colour-model.luatex.tpf
@@ -0,0 +1,272 @@
+%PDF-1.5
+%ÌÕÁÔÅØÐÄÆ
+3 0 obj
+<< /Length 904 >>
+stream
+0 1 0 rg
+BT
+/F20 9.96264 Tf
+1 0 0 1 29.117 145.943 Tm [<0069>95<00330063>5<006A>]TJ
+0 g 0 G
+1.0 0.0 0.0 rg 1.0 0.0 0.0 RG
+/F20 9.96264 Tf
+1 0 0 1 29.117 133.988 Tm [<0069>95<00330063>5<006A>]TJ
+0 g 0 G
+1.0 0.0 0.5 0.0 k 1.0 0.0 0.5 0.0 K
+/F20 9.96264 Tf
+1 0 0 1 29.117 122.033 Tm [<0069>95<00330063>5<006A>]TJ
+0 g 0 G
+0 1 0 rg
+/F26 9.96264 Tf
+1 0 0 1 29.117 110.077 Tm [<0069>85<00330063>15<006A>]TJ
+0 g 0 G
+1.0 0.0 0.0 rg 1.0 0.0 0.0 RG
+/F26 9.96264 Tf
+1 0 0 1 29.117 98.122 Tm [<0069>85<00330063>15<006A>]TJ
+0 g 0 G
+0 1 0.5 rg 0 1 0.5 RG
+/F26 9.96264 Tf
+1 0 0 1 29.117 86.167 Tm [<0069>85<00330063>15<006A>]TJ
+0 g 0 G
+0 1 0 rg
+/F32 9.96264 Tf
+1 0 0 1 29.117 74.212 Tm [<006900330063006A>]TJ
+0 g 0 G
+0 1 1 0 k 0 1 1 0 K
+/F32 9.96264 Tf
+1 0 0 1 29.117 62.257 Tm [<006900330063006A>]TJ
+0 g 0 G
+1.0 0.0 0.5 0.0 k 1.0 0.0 0.5 0.0 K
+/F32 9.96264 Tf
+1 0 0 1 29.117 50.302 Tm [<006900330063006A>]TJ
+0 g 0 G
+ET
+endstream
+endobj
+2 0 obj
+<< /Type /Page /Contents 3 0 R /Resources 1 0 R /MediaBox [ 0 0 255.118 170.079 ] /Parent 7 0 R >>
+endobj
+1 0 obj
+<< /Font << /F20 4 0 R /F26 5 0 R /F32 6 0 R >> /ProcSet [ /PDF /Text ] >>
+endobj
+8 0 obj
+[ 51 [ 600 ] 99 [ 600 ] 105 [ 600 600 ] ]
+endobj
+10 0 obj
+<< /Length 14 >>
+[BINARY STREAM]
+endobj
+11 0 obj
+<< /Subtype /CIDFontType0C /Length 974 >>
+[BINARY STREAM]
+endobj
+9 0 obj
+<< /Type /FontDescriptor /FontName /ANGBFD+TeXGyreCursor-Regular /Flags 4 /FontBBox [ -525 -250 1094 951 ] /Ascent 951 /CapHeight 563 /Descent -250 /ItalicAngle 0 /StemV 200 /XHeight 417 /FontFile3 11 0 R /CIDSet 10 0 R >>
+endobj
+12 0 obj
+<< /Length 754 >>
+stream
+%!PS-Adobe-3.0 Resource-CMap
+%%DocumentNeededResources: ProcSet (CIDInit)
+%%IncludeResource: ProcSet (CIDInit)
+%%BeginResource: CMap (TeX-ANGBFD-TeXGyreCursor-Regular-0)
+%%Title: (TeX-ANGBFD-TeXGyreCursor-Regular-0 TeX ANGBFD-TeXGyreCursor-Regular 0)
+%%Version: 1.000
+%%EndComments
+/CIDInit /ProcSet findresource begin
+12 dict begin
+begincmap
+/CIDSystemInfo
+<< /Registry (TeX)
+/Ordering (ANGBFD-TeXGyreCursor-Regular)
+/Supplement 0
+>> def
+/CMapName /TeX-Identity-ANGBFD-TeXGyreCursor-Regular def
+/CMapType 2 def
+1 begincodespacerange
+<0000> <FFFF>
+endcodespacerange
+0 beginbfrange
+endbfrange
+4 beginbfchar
+<0033> <0065>
+<0063> <0073>
+<0069> <0054>
+<006A> <0074>
+endbfchar
+endcmap
+CMapName currentdict /CMap defineresource pop
+end
+end
+%%EndResource
+%%EOF
+endstream
+endobj
+6 0 obj
+<< /Type /Font /Subtype /Type0 /Encoding /Identity-H /BaseFont /ANGBFD+TeXGyreCursor-Regular /DescendantFonts [ 13 0 R ] /ToUnicode 12 0 R >>
+endobj
+13 0 obj
+<< /Type /Font /Subtype /CIDFontType0 /BaseFont /ANGBFD+TeXGyreCursor-Regular /FontDescriptor 9 0 R /W 8 0 R /CIDSystemInfo << /Registry (Adobe) /Ordering (Identity) /Supplement 0 >> >>
+endobj
+14 0 obj
+[ 51 [ 444 ] 99 [ 389 ] 105 [ 611 278 ] ]
+endobj
+16 0 obj
+<< /Length 14 >>
+[BINARY STREAM]
+endobj
+17 0 obj
+<< /Subtype /CIDFontType0C /Length 930 >>
+[BINARY STREAM]
+endobj
+15 0 obj
+<< /Type /FontDescriptor /FontName /UJHTDY+TeXGyreTermes-Regular /Flags 4 /FontBBox [ -526 -281 1306 1055 ] /Ascent 1055 /CapHeight 662 /Descent -281 /ItalicAngle 0 /StemV 83 /XHeight 450 /FontFile3 17 0 R /CIDSet 16 0 R >>
+endobj
+18 0 obj
+<< /Length 754 >>
+stream
+%!PS-Adobe-3.0 Resource-CMap
+%%DocumentNeededResources: ProcSet (CIDInit)
+%%IncludeResource: ProcSet (CIDInit)
+%%BeginResource: CMap (TeX-UJHTDY-TeXGyreTermes-Regular-0)
+%%Title: (TeX-UJHTDY-TeXGyreTermes-Regular-0 TeX UJHTDY-TeXGyreTermes-Regular 0)
+%%Version: 1.000
+%%EndComments
+/CIDInit /ProcSet findresource begin
+12 dict begin
+begincmap
+/CIDSystemInfo
+<< /Registry (TeX)
+/Ordering (UJHTDY-TeXGyreTermes-Regular)
+/Supplement 0
+>> def
+/CMapName /TeX-Identity-UJHTDY-TeXGyreTermes-Regular def
+/CMapType 2 def
+1 begincodespacerange
+<0000> <FFFF>
+endcodespacerange
+0 beginbfrange
+endbfrange
+4 beginbfchar
+<0033> <0065>
+<0063> <0073>
+<0069> <0054>
+<006A> <0074>
+endbfchar
+endcmap
+CMapName currentdict /CMap defineresource pop
+end
+end
+%%EndResource
+%%EOF
+endstream
+endobj
+5 0 obj
+<< /Type /Font /Subtype /Type0 /Encoding /Identity-H /BaseFont /UJHTDY+TeXGyreTermes-Regular /DescendantFonts [ 19 0 R ] /ToUnicode 18 0 R >>
+endobj
+19 0 obj
+<< /Type /Font /Subtype /CIDFontType0 /BaseFont /UJHTDY+TeXGyreTermes-Regular /FontDescriptor 15 0 R /W 14 0 R /CIDSystemInfo << /Registry (Adobe) /Ordering (Identity) /Supplement 0 >> >>
+endobj
+20 0 obj
+[ 51 [ 556 ] 99 [ 500 ] 105 [ 611 278 ] ]
+endobj
+22 0 obj
+<< /Length 14 >>
+[BINARY STREAM]
+endobj
+23 0 obj
+<< /Subtype /CIDFontType0C /Length 830 >>
+[BINARY STREAM]
+endobj
+21 0 obj
+<< /Type /FontDescriptor /FontName /VULFFJ+TeXGyreHeros-Regular /Flags 4 /FontBBox [ -529 -284 1353 1148 ] /Ascent 1148 /CapHeight 729 /Descent -284 /ItalicAngle 0 /StemV 93 /XHeight 524 /FontFile3 23 0 R /CIDSet 22 0 R >>
+endobj
+24 0 obj
+<< /Length 749 >>
+stream
+%!PS-Adobe-3.0 Resource-CMap
+%%DocumentNeededResources: ProcSet (CIDInit)
+%%IncludeResource: ProcSet (CIDInit)
+%%BeginResource: CMap (TeX-VULFFJ-TeXGyreHeros-Regular-0)
+%%Title: (TeX-VULFFJ-TeXGyreHeros-Regular-0 TeX VULFFJ-TeXGyreHeros-Regular 0)
+%%Version: 1.000
+%%EndComments
+/CIDInit /ProcSet findresource begin
+12 dict begin
+begincmap
+/CIDSystemInfo
+<< /Registry (TeX)
+/Ordering (VULFFJ-TeXGyreHeros-Regular)
+/Supplement 0
+>> def
+/CMapName /TeX-Identity-VULFFJ-TeXGyreHeros-Regular def
+/CMapType 2 def
+1 begincodespacerange
+<0000> <FFFF>
+endcodespacerange
+0 beginbfrange
+endbfrange
+4 beginbfchar
+<0033> <0065>
+<0063> <0073>
+<0069> <0054>
+<006A> <0074>
+endbfchar
+endcmap
+CMapName currentdict /CMap defineresource pop
+end
+end
+%%EndResource
+%%EOF
+endstream
+endobj
+4 0 obj
+<< /Type /Font /Subtype /Type0 /Encoding /Identity-H /BaseFont /VULFFJ+TeXGyreHeros-Regular /DescendantFonts [ 25 0 R ] /ToUnicode 24 0 R >>
+endobj
+25 0 obj
+<< /Type /Font /Subtype /CIDFontType0 /BaseFont /VULFFJ+TeXGyreHeros-Regular /FontDescriptor 21 0 R /W 20 0 R /CIDSystemInfo << /Registry (Adobe) /Ordering (Identity) /Supplement 0 >> >>
+endobj
+7 0 obj
+<< /Type /Pages /Count 1 /Kids [ 2 0 R ] >>
+endobj
+26 0 obj
+<< /Type /Catalog /Pages 7 0 R >>
+endobj
+27 0 obj
+<< /Producer (LuaTeX) /Creator (TeX) /Trapped /False >>
+endobj
+xref
+0 28
+0000000000 65535 f
+0000001097 00000 n
+0000000983 00000 n
+0000000020 00000 n
+0000008442 00000 n
+0000005987 00000 n
+0000003428 00000 n
+0000008801 00000 n
+0000001187 00000 n
+0000002376 00000 n
+0000001244 00000 n
+0000001318 00000 n
+0000002614 00000 n
+0000003585 00000 n
+0000003787 00000 n
+0000004933 00000 n
+0000003845 00000 n
+0000003919 00000 n
+0000005173 00000 n
+0000006144 00000 n
+0000006348 00000 n
+0000007394 00000 n
+0000006406 00000 n
+0000006480 00000 n
+0000007633 00000 n
+0000008598 00000 n
+0000008861 00000 n
+0000008911 00000 n
+trailer
+<< /Size 28 /Root 26 0 R /Info 27 0 R >>
+startxref
+8983
+%%EOF
diff --git a/testfiles/colour-model.pvt b/testfiles/colour-model.pvt
new file mode 100644
index 0000000..1da9891
--- /dev/null
+++ b/testfiles/colour-model.pvt
@@ -0,0 +1,35 @@
+\input{fontspec-testsetup.tex}
+\usepackage{fontspec}
+\ExplSyntaxOn
+ \color_set:nnn{cmyk}{cmyk}{1,0,0.5,0}
+\ExplSyntaxOff
+
+\begin{document}
+
+\fontspec[Color=00FF00]{texgyreheros-regular.otf} Test
+
+\fontspec[Color=red]{texgyreheros-regular.otf} Test
+
+\fontspec[Color=cmyk]{texgyreheros-regular.otf} Test
+
+\ExplSyntaxOn
+\tl_set:Nn \l_color_fixed_model_tl{rgb}
+\ExplSyntaxOff
+
+\fontspec[Color=00FF00]{texgyretermes-regular.otf} Test
+
+\fontspec[Color=red]{texgyretermes-regular.otf} Test
+
+\fontspec[Color=cmyk]{texgyretermes-regular.otf} Test
+
+\ExplSyntaxOn
+\tl_set:Nn \l_color_fixed_model_tl{cmyk}
+\ExplSyntaxOff
+
+\fontspec[Color=00FF00]{texgyrecursor-regular.otf} Test
+
+\fontspec[Color=red]{texgyrecursor-regular.otf} Test
+
+\fontspec[Color=cmyk]{texgyrecursor-regular.otf} Test
+
+\end{document}
diff --git a/testfiles/colour-model.tpf b/testfiles/colour-model.tpf
new file mode 100644
index 0000000..a910606
--- /dev/null
+++ b/testfiles/colour-model.tpf
@@ -0,0 +1,253 @@
+%PDF-1.5
+%äðíø
+19 0 obj
+<</Length 1104>>
+stream
+ q 1 0 0 1 72 98.079 cm 0 G 0 g 0 1 0 RG 0 1 0 rg q /Xtx_Gs_00000000 gs BT /F1 9.9626 Tf -42.883 47.864 Td[<0069>94<00330063>5<006a>]TJ ET Q 0 G 0 g 1 0 0 RG 1 0 0 rg q /Xtx_Gs_00000001 gs BT /F1 9.9626 Tf -42.883 35.909 Td[<0069>94<00330063>5<006a>]TJ ET Q 0 G 0 g 0 1 0.502 RG 0 1 0.502 rg q /Xtx_Gs_00000002 gs BT /F1 9.9626 Tf -42.883 23.954 Td[<0069>94<00330063>5<006a>]TJ ET Q 0 G 0 g 0 1 0 RG 0 1 0 rg q /Xtx_Gs_00000003 gs BT /F3 9.9626 Tf -42.883 11.999 Td[<0069>84<00330063>15<006a>]TJ ET Q 0 G 0 g 1 0 0 RG 1 0 0 rg q /Xtx_Gs_00000004 gs BT /F3 9.9626 Tf -42.883 .043 Td[<0069>84<00330063>15<006a>]TJ ET Q 0 G 0 g 0 1 0.502 RG 0 1 0.502 rg q /Xtx_Gs_00000005 gs BT /F3 9.9626 Tf -42.883 -11.912 Td[<0069>84<00330063>15<006a>]TJ ET Q 0 G 0 g 0 1 0 RG 0 1 0 rg q /Xtx_Gs_00000006 gs BT /F5 9.9626 Tf -42.883 -23.867 Td[<006900330063006a>]TJ ET Q 0 G 0 g 1 0 0 RG 1 0 0 rg q /Xtx_Gs_00000007 gs BT /F5 9.9626 Tf -42.883 -35.822 Td[<006900330063006a>]TJ ET Q 0 G 0 g 0 1 0.502 RG 0 1 0.502 rg q /Xtx_Gs_00000008 gs BT /F5 9.9626 Tf -42.883 -47.777 Td[<006900330063006a>]TJ ET Q 0 G 0 g Q
+endstream
+endobj
+20 0 obj
+<</ExtGState<</Xtx_Gs_00000000 4 0 R/Xtx_Gs_00000001 7 0 R/Xtx_Gs_00000002 8 0 R/Xtx_Gs_00000003
+9 0 R/Xtx_Gs_00000004 12 0 R/Xtx_Gs_00000005 13 0 R/Xtx_Gs_00000006 14 0 R/Xtx_Gs_00000007
+17 0 R/Xtx_Gs_00000008 18 0 R>>/Font<</F1 5 0 R/F3 10 0 R/F5 15 0 R>>/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
+endobj
+3 0 obj
+<</Resources 20 0 R/Type/Page/Parent 21 0 R/Contents[19 0 R]>>
+endobj
+21 0 obj
+<</Type/Pages/Count 1/Kids[3 0 R]/MediaBox[0 0 255.12 170.08]>>
+endobj
+2 0 obj
+<</Creator(TeX)/Producer(xdvipdfmx)/CreationDate(D:20160520090000-00'00')>>
+endobj
+1 0 obj
+<</Pages 21 0 R/Type/Catalog>>
+endobj
+22 0 obj
+<</Length 401>>
+stream
+/CIDInit /ProcSet findresource begin
+12 dict begin
+begincmap
+/CMapName /EXQIVM+TeXGyreHeros-Regular-UTF16 def
+/CMapType 2 def
+/CIDSystemInfo <<
+ /Registry (Adobe)
+ /Ordering (UCS)
+ /Supplement 0
+>> def
+1 begincodespacerange
+<0000> <FFFF>
+endcodespacerange
+4 beginbfchar
+<0033> <0065>
+<0063> <0073>
+<0069> <0054>
+<006A> <0074>
+endbfchar
+endcmap
+CMapName currentdict /CMap defineresource pop
+end
+end
+endstream
+endobj
+23 0 obj
+<</Length 402>>
+stream
+/CIDInit /ProcSet findresource begin
+12 dict begin
+begincmap
+/CMapName /XUUPUX+TeXGyreTermes-Regular-UTF16 def
+/CMapType 2 def
+/CIDSystemInfo <<
+ /Registry (Adobe)
+ /Ordering (UCS)
+ /Supplement 0
+>> def
+1 begincodespacerange
+<0000> <FFFF>
+endcodespacerange
+4 beginbfchar
+<0033> <0065>
+<0063> <0073>
+<0069> <0054>
+<006A> <0074>
+endbfchar
+endcmap
+CMapName currentdict /CMap defineresource pop
+end
+end
+endstream
+endobj
+24 0 obj
+<</Length 402>>
+stream
+/CIDInit /ProcSet findresource begin
+12 dict begin
+begincmap
+/CMapName /POGXIQ+TeXGyreCursor-Regular-UTF16 def
+/CMapType 2 def
+/CIDSystemInfo <<
+ /Registry (Adobe)
+ /Ordering (UCS)
+ /Supplement 0
+>> def
+1 begincodespacerange
+<0000> <FFFF>
+endcodespacerange
+4 beginbfchar
+<0033> <0065>
+<0063> <0073>
+<0069> <0054>
+<006A> <0074>
+endbfchar
+endcmap
+CMapName currentdict /CMap defineresource pop
+end
+end
+endstream
+endobj
+26 0 obj
+<</Subtype/CIDFontType0C/Length 809>>
+[BINARY STREAM]
+endobj
+27 0 obj
+[51[556]99[500]105[611 278]]
+endobj
+28 0 obj
+<</Length 14>>
+[BINARY STREAM]
+endobj
+30 0 obj
+<</Subtype/CIDFontType0C/Length 909>>
+[BINARY STREAM]
+endobj
+31 0 obj
+[51[444]99[389]105[611 278]]
+endobj
+32 0 obj
+<</Length 14>>
+[BINARY STREAM]
+endobj
+34 0 obj
+<</Subtype/CIDFontType0C/Length 953>>
+[BINARY STREAM]
+endobj
+35 0 obj
+[51[600]99[600]105[600 600]]
+endobj
+36 0 obj
+<</Length 14>>
+[BINARY STREAM]
+endobj
+6 0 obj
+<</Type/Font/Subtype/CIDFontType0/BaseFont/EXQIVM+TeXGyreHeros-Regular/CIDSystemInfo<</Registry(Adobe)/Ordering(Identity)/Supplement
+0>>/FontDescriptor 25 0 R/DW 280/W 27 0 R>>
+endobj
+25 0 obj
+<</Type/FontDescriptor/Ascent 784/Descent -216/StemV 93/CapHeight 784/AvgWidth 534/FontBBox[-529
+-284 1353 1148]/ItalicAngle 0/Flags 6/Style<</Panose<000000000500000000000000>>>/FontName/EXQIVM+TeXGyreHeros-Regular/FontFile3
+26 0 R/CIDSet 28 0 R>>
+endobj
+5 0 obj
+<</Type/Font/Subtype/Type0/BaseFont/EXQIVM+TeXGyreHeros-Regular-Identity-H/Encoding/Identity-H/DescendantFonts[6 0 R]/ToUnicode
+22 0 R>>
+endobj
+11 0 obj
+<</Type/Font/Subtype/CIDFontType0/BaseFont/XUUPUX+TeXGyreTermes-Regular/CIDSystemInfo<</Registry(Adobe)/Ordering(Identity)/Supplement
+0>>/FontDescriptor 29 0 R/DW 280/W 31 0 R>>
+endobj
+29 0 obj
+<</Type/FontDescriptor/Ascent 783/Descent -217/StemV 102/CapHeight 783/AvgWidth 503/FontBBox[-526
+-281 1306 1055]/ItalicAngle 0/Flags 6/Style<</Panose<000000000500000000000000>>>/FontName/XUUPUX+TeXGyreTermes-Regular/FontFile3
+30 0 R/CIDSet 32 0 R>>
+endobj
+10 0 obj
+<</Type/Font/Subtype/Type0/BaseFont/XUUPUX+TeXGyreTermes-Regular-Identity-H/Encoding/Identity-H/DescendantFonts[11 0 R]/ToUnicode
+23 0 R>>
+endobj
+16 0 obj
+<</Type/Font/Subtype/CIDFontType0/BaseFont/POGXIQ+TeXGyreCursor-Regular/CIDSystemInfo<</Registry(Adobe)/Ordering(Identity)/Supplement
+0>>/FontDescriptor 33 0 R/DW 280/W 35 0 R>>
+endobj
+33 0 obj
+<</Type/FontDescriptor/Ascent 814/Descent -186/StemV 41/CapHeight 814/AvgWidth 579/FontBBox[-525
+-250 1094 951]/ItalicAngle 0/Flags 7/Style<</Panose<000000000509000000000000>>>/FontName/POGXIQ+TeXGyreCursor-Regular/FontFile3
+34 0 R/CIDSet 36 0 R>>
+endobj
+15 0 obj
+<</Type/Font/Subtype/Type0/BaseFont/POGXIQ+TeXGyreCursor-Regular-Identity-H/Encoding/Identity-H/DescendantFonts[16 0 R]/ToUnicode
+24 0 R>>
+endobj
+4 0 obj
+<</Type/ExtGState/ca 1/CA 1>>
+endobj
+7 0 obj
+<</Type/ExtGState/ca 1/CA 1>>
+endobj
+8 0 obj
+<</Type/ExtGState/ca 1/CA 1>>
+endobj
+9 0 obj
+<</Type/ExtGState/ca 1/CA 1>>
+endobj
+12 0 obj
+<</Type/ExtGState/ca 1/CA 1>>
+endobj
+13 0 obj
+<</Type/ExtGState/ca 1/CA 1>>
+endobj
+14 0 obj
+<</Type/ExtGState/ca 1/CA 1>>
+endobj
+17 0 obj
+<</Type/ExtGState/ca 1/CA 1>>
+endobj
+18 0 obj
+<</Type/ExtGState/ca 1/CA 1>>
+endobj
+xref
+0 37
+0000000000 65535 f
+0000001735 00000 n
+0000001644 00000 n
+0000001486 00000 n
+0000008183 00000 n
+0000006803 00000 n
+0000006347 00000 n
+0000008228 00000 n
+0000008273 00000 n
+0000008318 00000 n
+0000007415 00000 n
+0000006955 00000 n
+0000008363 00000 n
+0000008409 00000 n
+0000008455 00000 n
+0000008028 00000 n
+0000007570 00000 n
+0000008501 00000 n
+0000008547 00000 n
+0000000015 00000 n
+0000001170 00000 n
+0000001564 00000 n
+0000001781 00000 n
+0000002232 00000 n
+0000002684 00000 n
+0000006539 00000 n
+0000003136 00000 n
+0000004017 00000 n
+0000004062 00000 n
+0000007149 00000 n
+0000004125 00000 n
+0000005106 00000 n
+0000005151 00000 n
+0000007764 00000 n
+0000005214 00000 n
+0000006239 00000 n
+0000006284 00000 n
+trailer
+<</ID[<ID-STRING><ID-STRING>]/Root
+1 0 R/Info 2 0 R/Size 37>>
+startxref
+8593
+%%EOF
diff --git a/testfiles/colour-opacity.luatex.tlg b/testfiles/colour-opacity.luatex.tlg
index 7eb3df2..74c7b2d 100644
--- a/testfiles/colour-opacity.luatex.tlg
+++ b/testfiles/colour-opacity.luatex.tlg
@@ -6,5 +6,9 @@ TU/texgyreheros-regular.otf(1)/m/n:
[texgyreheros-regular.otf]:mode=node;script=latn;language=dflt;color={red,7f};
TU/texgyreheros-regular.otf(2)/m/n:
[texgyreheros-regular.otf]:mode=node;script=latn;language=dflt;color={00FF00,7f};
+TU/texgyreheros-regular.otf(3)/m/n:
+ [texgyreheros-regular.otf]:mode=node;script=latn;language=dflt;color={00FF0044};
+TU/texgyreheros-regular.otf(4)/m/n:
+ [texgyreheros-regular.otf]:mode=node;script=latn;language=dflt;color={00FF00,4c};
***************
Compilation 1 of test file completed with exit status 0
diff --git a/testfiles/colour-opacity.lvt b/testfiles/colour-opacity.lvt
index 60df1ec..2dae1fc 100644
--- a/testfiles/colour-opacity.lvt
+++ b/testfiles/colour-opacity.lvt
@@ -19,4 +19,14 @@ Test
Test
\CURRNFSS
+\fontspec[
+ Color=00FF0044
+ ]{texgyreheros-regular.otf}
+Test \CURRNFSS
+
+\fontspec[
+ Color=00FF0044, Opacity=0.3
+ ]{texgyreheros-regular.otf}
+Test \CURRNFSS
+
\end{document}
diff --git a/testfiles/colour-opacity.tlg b/testfiles/colour-opacity.tlg
index 828d8d8..e56cb90 100644
--- a/testfiles/colour-opacity.tlg
+++ b/testfiles/colour-opacity.tlg
@@ -6,5 +6,9 @@ TU/texgyreheros-regular.otf(1)/m/n:
"[texgyreheros-regular.otf]/OT:script=latn;language=dflt;color=FF00007f;" at 10.0pt
TU/texgyreheros-regular.otf(2)/m/n:
"[texgyreheros-regular.otf]/OT:script=latn;language=dflt;color=00FF007f;" at 10.0pt
+TU/texgyreheros-regular.otf(3)/m/n:
+ "[texgyreheros-regular.otf]/OT:script=latn;language=dflt;color=00FF0044;" at 10.0pt
+TU/texgyreheros-regular.otf(4)/m/n:
+ "[texgyreheros-regular.otf]/OT:script=latn;language=dflt;color=00FF004c;" at 10.0pt
***************
Compilation 1 of test file completed with exit status 0
diff --git a/testfiles/colour-spotcolor.luatex.tpf b/testfiles/colour-spotcolor.luatex.tpf
new file mode 100644
index 0000000..46e979d
--- /dev/null
+++ b/testfiles/colour-spotcolor.luatex.tpf
@@ -0,0 +1,113 @@
+%PDF-1.5
+%ÌÕÁÔÅØÐÄÆ
+1 0 obj
+<< /FunctionType 2/Domain [0 1]/C0 [0 0 0 0] /C1 [1 0.56 0 0]/N 1 >>
+endobj
+2 0 obj
+[ /Separation/PANTONE#203005#20U /DeviceCMYK 1 0 R ]
+endobj
+5 0 obj
+<< /Length 113 >>
+stream
+/color1 cs 1.0 scn /color1 CS 1.0 SCN
+BT
+/F27 9.96264 Tf
+1 0 0 1 29.117 145.943 Tm [<006900690069>]TJ
+0 g 0 G
+ET
+endstream
+endobj
+4 0 obj
+<< /Type /Page /Contents 5 0 R /Resources 3 0 R /MediaBox [ 0 0 255.118 170.079 ] /Parent 7 0 R >>
+endobj
+3 0 obj
+<< /Font << /F27 6 0 R >> /ProcSet [ /PDF /Text ] >>
+endobj
+8 0 obj
+[ 105 [ 611 ] ]
+endobj
+10 0 obj
+<< /Length 14 >>
+[BINARY STREAM]
+endobj
+11 0 obj
+<< /Subtype /CIDFontType0C /Length 605 >>
+[BINARY STREAM]
+endobj
+9 0 obj
+<< /Type /FontDescriptor /FontName /GYUAGU+TeXGyreTermes-Regular /Flags 4 /FontBBox [ -526 -281 1306 1055 ] /Ascent 1055 /CapHeight 662 /Descent -281 /ItalicAngle 0 /StemV 83 /XHeight 450 /FontFile3 11 0 R /CIDSet 10 0 R >>
+endobj
+12 0 obj
+<< /Length 712 >>
+stream
+%!PS-Adobe-3.0 Resource-CMap
+%%DocumentNeededResources: ProcSet (CIDInit)
+%%IncludeResource: ProcSet (CIDInit)
+%%BeginResource: CMap (TeX-GYUAGU-TeXGyreTermes-Regular-0)
+%%Title: (TeX-GYUAGU-TeXGyreTermes-Regular-0 TeX GYUAGU-TeXGyreTermes-Regular 0)
+%%Version: 1.000
+%%EndComments
+/CIDInit /ProcSet findresource begin
+12 dict begin
+begincmap
+/CIDSystemInfo
+<< /Registry (TeX)
+/Ordering (GYUAGU-TeXGyreTermes-Regular)
+/Supplement 0
+>> def
+/CMapName /TeX-Identity-GYUAGU-TeXGyreTermes-Regular def
+/CMapType 2 def
+1 begincodespacerange
+<0000> <FFFF>
+endcodespacerange
+0 beginbfrange
+endbfrange
+1 beginbfchar
+<0069> <0054>
+endbfchar
+endcmap
+CMapName currentdict /CMap defineresource pop
+end
+end
+%%EndResource
+%%EOF
+endstream
+endobj
+6 0 obj
+<< /Type /Font /Subtype /Type0 /Encoding /Identity-H /BaseFont /GYUAGU+TeXGyreTermes-Regular /DescendantFonts [ 13 0 R ] /ToUnicode 12 0 R >>
+endobj
+13 0 obj
+<< /Type /Font /Subtype /CIDFontType0 /BaseFont /GYUAGU+TeXGyreTermes-Regular /FontDescriptor 9 0 R /W 8 0 R /CIDSystemInfo << /Registry (Adobe) /Ordering (Identity) /Supplement 0 >> >>
+endobj
+7 0 obj
+<< /Type /Pages /Count 1 /Kids [ 4 0 R ] >>
+endobj
+14 0 obj
+<< /Type /Catalog /Pages 7 0 R >>
+endobj
+15 0 obj
+<< /Producer (LuaTeX) /Creator (TeX) /Trapped /False >>
+endobj
+xref
+0 16
+0000000000 65535 f
+0000000020 00000 n
+0000000104 00000 n
+0000000458 00000 n
+0000000344 00000 n
+0000000172 00000 n
+0000002331 00000 n
+0000002690 00000 n
+0000000526 00000 n
+0000001320 00000 n
+0000000557 00000 n
+0000000631 00000 n
+0000001559 00000 n
+0000002488 00000 n
+0000002750 00000 n
+0000002800 00000 n
+trailer
+<< /Size 16 /Root 14 0 R /Info 15 0 R >>
+startxref
+2872
+%%EOF
diff --git a/testfiles/colour-spotcolor.pvt b/testfiles/colour-spotcolor.pvt
new file mode 100644
index 0000000..8a7534f
--- /dev/null
+++ b/testfiles/colour-spotcolor.pvt
@@ -0,0 +1,19 @@
+\input{fontspec-testsetup.tex}
+\usepackage{fontspec,iftex}
+\ExplSyntaxOn
+ \color_model_new:nnn { sepblue } { Separation }
+ {
+ name = PANTONE~3005~U ,
+ alternative-model = cmyk ,
+ alternative-values = {1, 0.56, 0,0},
+ }
+ \color_set:nnn{spotblue}{sepblue}{1}
+\ExplSyntaxOff
+
+\ifluatex
+\setmainfont{texgyretermes}[Color=spotblue]
+\fi
+
+\begin{document}
+ TTT
+\end{document}
diff --git a/testfiles/colour-spotcolor.tpf b/testfiles/colour-spotcolor.tpf
new file mode 100644
index 0000000..7dd61a0
--- /dev/null
+++ b/testfiles/colour-spotcolor.tpf
@@ -0,0 +1,98 @@
+%PDF-1.5
+%äðíø
+7 0 obj
+<</Length 90>>
+stream
+ q 1 0 0 1 72 98.079 cm 0 G 0 g BT /F1 9.9626 Tf -42.883 47.864 Td[<006800680068>]TJ ET Q
+endstream
+endobj
+8 0 obj
+<</Font<</F1 5 0 R>>/ProcSet[/PDF/Text/ImageC/ImageB/ImageI]>>
+endobj
+4 0 obj
+<</FunctionType 2/Domain[0 1]/C0[0 0 0 0]/C1[1 .56 0 0]/N 1>>
+endobj
+3 0 obj
+<</Resources 8 0 R/Type/Page/Parent 9 0 R/Contents[7 0 R]>>
+endobj
+9 0 obj
+<</Type/Pages/Count 1/Kids[3 0 R]/MediaBox[0 0 255.12 170.08]>>
+endobj
+2 0 obj
+<</Creator(TeX)/Producer(xdvipdfmx)/CreationDate(D:20160520090000-00'00')>>
+endobj
+1 0 obj
+<</Pages 9 0 R/Type/Catalog>>
+endobj
+10 0 obj
+<</Length 356>>
+stream
+/CIDInit /ProcSet findresource begin
+12 dict begin
+begincmap
+/CMapName /EXQIVM+LMRoman10-Regular-UTF16 def
+/CMapType 2 def
+/CIDSystemInfo <<
+ /Registry (Adobe)
+ /Ordering (UCS)
+ /Supplement 0
+>> def
+1 begincodespacerange
+<0000> <FFFF>
+endcodespacerange
+1 beginbfchar
+<0068> <0054>
+endbfchar
+endcmap
+CMapName currentdict /CMap defineresource pop
+end
+end
+endstream
+endobj
+12 0 obj
+<</Subtype/CIDFontType0C/Length 596>>
+[BINARY STREAM]
+endobj
+13 0 obj
+[104[722]]
+endobj
+14 0 obj
+<</Length 14>>
+[BINARY STREAM]
+endobj
+6 0 obj
+<</Type/Font/Subtype/CIDFontType0/BaseFont/EXQIVM+LMRoman10-Regular/CIDSystemInfo<</Registry(Adobe)/Ordering(Identity)/Supplement
+0>>/FontDescriptor 11 0 R/DW 280/W 13 0 R>>
+endobj
+11 0 obj
+<</Type/FontDescriptor/Ascent 806/Descent -194/StemV 69/CapHeight 806/AvgWidth 549/FontBBox[-430
+-290 1417 1127]/ItalicAngle 0/Flags 6/Style<</Panose<000000000500000000000000>>>/FontName/EXQIVM+LMRoman10-Regular/FontFile3
+12 0 R/CIDSet 14 0 R>>
+endobj
+5 0 obj
+<</Type/Font/Subtype/Type0/BaseFont/EXQIVM+LMRoman10-Regular-Identity-H/Encoding/Identity-H/DescendantFonts[6 0 R]/ToUnicode
+10 0 R>>
+endobj
+xref
+0 15
+0000000000 65535 f
+0000000553 00000 n
+0000000462 00000 n
+0000000308 00000 n
+0000000231 00000 n
+0000002212 00000 n
+0000001762 00000 n
+0000000015 00000 n
+0000000153 00000 n
+0000000383 00000 n
+0000000598 00000 n
+0000001951 00000 n
+0000001004 00000 n
+0000001672 00000 n
+0000001699 00000 n
+trailer
+<</ID[<ID-STRING><ID-STRING>]/Root
+1 0 R/Info 2 0 R/Size 15>>
+startxref
+2361
+%%EOF
More information about the latex3-commits
mailing list.