[latex3-commits] [git/LaTeX3-latex3-pdfresources] develop: add testfile (2d859d6)

Ulrike Fischer fischer at troubleshooting-tex.de
Tue Jun 14 15:56:41 CEST 2022


Repository : https://github.com/latex3/pdfresources
On branch  : develop
Link       : https://github.com/latex3/pdfresources/commit/2d859d6d50cd7fc345b1d6562b1e589aba6ee5ab

>---------------------------------------------------------------

commit 2d859d6d50cd7fc345b1d6562b1e589aba6ee5ab
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue Jun 14 15:56:41 2022 +0200

    add testfile


>---------------------------------------------------------------

2d859d6d50cd7fc345b1d6562b1e589aba6ee5ab
 testfiles-luatex/fontspec-spotcolor.pvt |  20 +++++
 testfiles-luatex/fontspec-spotcolor.tpf | 141 ++++++++++++++++++++++++++++++++
 2 files changed, 161 insertions(+)

diff --git a/testfiles-luatex/fontspec-spotcolor.pvt b/testfiles-luatex/fontspec-spotcolor.pvt
new file mode 100644
index 0000000..b592191
--- /dev/null
+++ b/testfiles-luatex/fontspec-spotcolor.pvt
@@ -0,0 +1,20 @@
+\DocumentMetadata{uncompress}
+\input{regression-test}
+\documentclass{article}
+\usepackage{fontspec}
+\usepackage{xcolor}
+\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}
+  \color_set:nnn{cmykblue}{cmyk}{1,1,1,0.5}
+\ExplSyntaxOff
+\setmainfont{texgyretermes}[Color=cmykblue]
+\setsansfont{texgyretermes}[Color=spotblue,Opacity=0.2]
+\begin{document}
+TTT \sffamily MMM
+\end{document}
diff --git a/testfiles-luatex/fontspec-spotcolor.tpf b/testfiles-luatex/fontspec-spotcolor.tpf
new file mode 100644
index 0000000..e1d584d
--- /dev/null
+++ b/testfiles-luatex/fontspec-spotcolor.tpf
@@ -0,0 +1,141 @@
+%PDF-1.5
+%ÌÕÁÔÅØÐÄÆ
+5 0 obj
+<< /FunctionType 2/Domain [0 1]/C0 [0 0 0 0] /C1 [1 0.56 0 0]/N 1 >>
+endobj
+6 0 obj
+[ /Separation/PANTONE#203005#20U /DeviceCMYK 5 0 R ]
+endobj
+9 0 obj
+<< /Length 400 >>        
+stream
+/opacity1 gs
+0 g 0 G
+0 g 0 G
+0 g 0 G
+1.0 1.0 1.0 0.5 k 1.0 1.0 1.0 0.5 K
+BT
+/F27 9.96264 Tf
+1 0 0 1 148.712 657.235 Tm [<006900690069>]TJ
+0 g 0 G
+/color1 cs 1.0 scn /color1 CS 1.0 SCN
+/opacity0.196 gs
+/F27 9.96264 Tf
+1 0 0 1 169.464 657.235 Tm [<004B004B004B>]TJ
+0 g 0 G
+/opacity1 gs
+0 g 0 G
+1.0 1.0 1.0 0.5 k 1.0 1.0 1.0 0.5 K
+/F27 9.96264 Tf
+1 0 0 1 303.133 89.365 Tm [<0053>]TJ
+0 g 0 G
+0 g 0 G
+ET
+endstream
+endobj
+8 0 obj
+<< /Type /Page /Contents 9 0 R /Resources 7 0 R /MediaBox [ 0 0 612 792 ] /Parent 11 0 R >>
+endobj
+7 0 obj
+<< /ExtGState 1 0 R/ColorSpace 2 0 R /Font << /F27 10 0 R >> /ProcSet [ /PDF /Text ] >>
+endobj
+1 0 obj
+<< /opacity1 <</ca 1/CA 1>> /opacity0.196 <</ca 0.196/CA 0.196>>  >>
+endobj
+2 0 obj
+<< /color1 6 0 R  >>
+endobj
+12 0 obj
+[ 75 [ 889 ] 83 [ 500 ] 105 [ 611 ] ]
+endobj
+14 0 obj
+<< /Length 14 >>         
+[BINARY STREAM]
+endobj
+15 0 obj
+<< /Subtype /CIDFontType0C /Length 786 >>        
+[BINARY STREAM]
+endobj
+13 0 obj
+<< /Type /FontDescriptor /FontName /LAIBQK+TeXGyreTermes-Regular /Flags 4 /FontBBox [ -526 -281 1306 1055 ] /Ascent 1055 /CapHeight 662 /Descent -281 /ItalicAngle 0 /StemV 83 /XHeight 450 /FontFile3 15 0 R /CIDSet 14 0 R >>
+endobj
+16 0 obj
+<< /Length 740 >>        
+stream
+%!PS-Adobe-3.0 Resource-CMap
+%%DocumentNeededResources: ProcSet (CIDInit)
+%%IncludeResource: ProcSet (CIDInit)
+%%BeginResource: CMap (TeX-LAIBQK-TeXGyreTermes-Regular-0)
+%%Title: (TeX-LAIBQK-TeXGyreTermes-Regular-0 TeX LAIBQK-TeXGyreTermes-Regular 0)
+%%Version: 1.000
+%%EndComments
+/CIDInit /ProcSet findresource begin
+12 dict begin
+begincmap
+/CIDSystemInfo
+<< /Registry (TeX)
+/Ordering (LAIBQK-TeXGyreTermes-Regular)
+/Supplement 0
+>> def
+/CMapName /TeX-Identity-LAIBQK-TeXGyreTermes-Regular def
+/CMapType 2 def
+1 begincodespacerange
+<0000> <FFFF>
+endcodespacerange
+0 beginbfrange
+endbfrange
+3 beginbfchar
+<004B> <004D>
+<0053> <0031>
+<0069> <0054>
+endbfchar
+endcmap
+CMapName currentdict /CMap defineresource pop
+end
+end
+%%EndResource
+%%EOF
+endstream
+endobj
+10 0 obj
+<< /Type /Font /Subtype /Type0 /Encoding /Identity-H /BaseFont /LAIBQK+TeXGyreTermes-Regular /DescendantFonts [ 17 0 R ] /ToUnicode 16 0 R >>
+endobj
+17 0 obj
+<< /Type /Font /Subtype /CIDFontType0 /BaseFont /LAIBQK+TeXGyreTermes-Regular /FontDescriptor 13 0 R /W 12 0 R /CIDSystemInfo << /Registry (Adobe) /Ordering (Identity) /Supplement 0 >> >>
+endobj
+11 0 obj
+<< /Type /Pages  /Count 1 /Kids [ 8 0 R ] >>
+endobj
+18 0 obj
+<< /Type /Catalog /Pages 11 0 R /Lang (en-US) >>
+endobj
+19 0 obj
+<< /Creator (TeX)/Producer (LuaTeX)/CreationDate (D:20010101205959-00'00')/ModDate (D:20010101205959-00'00') /Trapped /False >>
+endobj
+xref
+0 20
+0000000003 65535 f 
+0000000841 00000 n 
+0000000925 00000 n 
+0000000004 00000 f 
+0000000000 00000 f 
+0000000020 00000 n 
+0000000104 00000 n 
+0000000738 00000 n 
+0000000631 00000 n 
+0000000172 00000 n 
+0000002999 00000 n 
+0000003361 00000 n 
+0000000961 00000 n 
+0000001959 00000 n 
+0000001015 00000 n 
+0000001089 00000 n 
+0000002199 00000 n 
+0000003157 00000 n 
+0000003422 00000 n 
+0000003487 00000 n 
+trailer
+<< /Size 20 /Root 18 0 R /Info 19 0 R /ID [ <2350CAD05F8A7AF0AA4058486855344F> <2350CAD05F8A7AF0AA4058486855344F> ] >>
+startxref
+3631
+%%EOF





More information about the latex3-commits mailing list.