[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Add feature tests (1a12848)

Marcel Fabian Krüger tex at 2krueger.de
Sun Feb 23 01:38:15 CET 2020


Repository : https://github.com/latex3/luaotfload
On branch  : dev
Link       : https://github.com/latex3/luaotfload/commit/1a1284822462c10d1f506723c84a3eb84cc2f0d0

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

commit 1a1284822462c10d1f506723c84a3eb84cc2f0d0
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Sun Feb 23 01:34:40 2020 +0100

    Add feature tests


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

1a1284822462c10d1f506723c84a3eb84cc2f0d0
 testfiles-harf/features.pvt                        | 11 +++
 .../features.tpf                                   | 97 +++++++++++++---------
 2 files changed, 68 insertions(+), 40 deletions(-)

diff --git a/testfiles-harf/features.pvt b/testfiles-harf/features.pvt
new file mode 100644
index 0000000..3cdf8ce
--- /dev/null
+++ b/testfiles-harf/features.pvt
@@ -0,0 +1,11 @@
+\input regression-test.tex\relax
+
+\documentclass{article}
+\begin{document}
+\font\lmrI "Latin Modern Roman:mode=harf"
+\font\lmrII "Latin Modern Roman:mode=harf,slant=1"
+\font\lmrIII "Latin Modern Roman:mode=harf,extend=1.1"
+\font\lmrIV "Latin Modern Roman:mode=harf,squeeze=1.5"
+\font\lmrV "Latin Modern Roman:mode=harf,slant=1,extend=2,squeeze=0.5"
+\lmrI abc \lmrII def \lmrIII ghi \lmrIV jkl \lmrV mno
+\end{document}
diff --git a/testfiles/issue109-tounicode.tpf b/testfiles-harf/features.tpf
similarity index 59%
copy from testfiles/issue109-tounicode.tpf
copy to testfiles-harf/features.tpf
index 9250aba..c69e958 100644
--- a/testfiles/issue109-tounicode.tpf
+++ b/testfiles-harf/features.tpf
@@ -1,11 +1,19 @@
 %PDF-1.5
 %ÌÕÁÔÅØÐÄÆ
 3 0 obj
-<< /Length 139 >>        
+<< /Length 384 >>        
 stream
 BT
 /F26 9.96264 Tf
-1 0 0 1 148.712 707.125 Tm [<00420043>-28<0044087408750876>]TJ
+1 0 0 1 148.712 707.125 Tm [<001C0023>-28<002B>]TJ
+/F26 9.96264 Tf
+1 0 1 1 167.253 707.125 Tm [<002F00320037>]TJ
+/F26 9.96264 Tf
+1.1 0 0 1 183.582 707.125 Tm [<003B003F>1<0042>]TJ
+/F26 9.96264 Tf
+1 0 0 1.5 201.823 707.125 Tm [<004400460048>]TJ
+/F26 9.96264 Tf
+2 0 1 0.5 216.219 707.125 Tm [<004B004D0051>]TJ
 /F25 9.96264 Tf
 1 0 0 1 303.133 139.255 Tm [<0052>]TJ
 ET
@@ -74,27 +82,27 @@ endobj
 << /Type /Font /Subtype /CIDFontType0 /BaseFont /JFRMQG+LMRoman10-Regular /FontDescriptor 8 0 R /W 7 0 R /CIDSystemInfo << /Registry (Adobe) /Ordering (Identity) /Supplement 0 >> >>
 endobj
 13 0 obj
-[ 66 [ 500 555 444 ] 2164 [ 500 500 500 ] ]
+[ 28 [ 500 ] 35 [ 556 ] 43 [ 444 ] 47 [ 556 ] 50 [ 444 ] 55 [ 306 ] 59 [ 500 ] 63 [ 556 ] 66 [ 278 ] 68 [ 306 ] 70 [ 528 ] 72 [ 278 ] 75 [ 833 ] 77 [ 556 ] 81 [ 500 ] ]
 endobj
 15 0 obj
-<< /Length 271 >>        
+<< /Length 11 >>         
 [BINARY STREAM]
 endobj
 16 0 obj
-<< /Subtype /CIDFontType0C /Length 1213 >>       
+<< /Subtype /CIDFontType0C /Length 2414 >>       
 [BINARY STREAM]
 endobj
 14 0 obj
-<< /Type /FontDescriptor /FontName /MNTVAL+CMUSerif-Roman /Flags 4 /FontBBox [ -1135 -387 1495 1094 ] /Ascent 935 /CapHeight 683 /Descent -250 /ItalicAngle 0 /StemV 93 /XHeight 430 /FontFile3 16 0 R /CIDSet 15 0 R >>
+<< /Type /FontDescriptor /FontName /IAMCEJ+LMRoman10-Regular /Flags 4 /FontBBox [ -430 -290 1417 1127 ] /Ascent 1127 /CapHeight 683 /Descent -290 /ItalicAngle 0 /StemV 93 /XHeight 431 /FontFile3 16 0 R /CIDSet 15 0 R >>
 endobj
 17 0 obj
-<< /Length 747 >>        
+<< /Length 889 >>        
 stream
 %!PS-Adobe-3.0 Resource-CMap
 %%DocumentNeededResources: ProcSet (CIDInit)
 %%IncludeResource: ProcSet (CIDInit)
-%%BeginResource: CMap (TeX-MNTVAL-CMUSerif-Roman-0)
-%%Title: (TeX-MNTVAL-CMUSerif-Roman-0 TeX MNTVAL-CMUSerif-Roman 0)
+%%BeginResource: CMap (TeX-IAMCEJ-LMRoman10-Regular-0)
+%%Title: (TeX-IAMCEJ-LMRoman10-Regular-0 TeX IAMCEJ-LMRoman10-Regular 0)
 %%Version: 1.000
 %%EndComments
 /CIDInit /ProcSet findresource begin
@@ -102,23 +110,32 @@ stream
 begincmap
 /CIDSystemInfo
 << /Registry (TeX)
-/Ordering (MNTVAL-CMUSerif-Roman)
+/Ordering (IAMCEJ-LMRoman10-Regular)
 /Supplement 0
 >> def
-/CMapName /TeX-Identity-MNTVAL-CMUSerif-Roman def
+/CMapName /TeX-Identity-IAMCEJ-LMRoman10-Regular def
 /CMapType 2 def
 1 begincodespacerange
 <0000> <FFFF>
 endcodespacerange
 0 beginbfrange
 endbfrange
-6 beginbfchar
-<0042> <0061>
-<0043> <0062>
-<0044> <0063>
-<0874> <0031>
-<0875> <0032>
-<0876> <0033>
+15 beginbfchar
+<001C> <0061>
+<0023> <0062>
+<002B> <0063>
+<002F> <0064>
+<0032> <0065>
+<0037> <0066>
+<003B> <0067>
+<003F> <0068>
+<0042> <0069>
+<0044> <006A>
+<0046> <006B>
+<0048> <006C>
+<004B> <006D>
+<004D> <006E>
+<0051> <006F>
 endbfchar
 endcmap
 CMapName currentdict /CMap defineresource pop
@@ -129,10 +146,10 @@ end
 endstream
 endobj
 4 0 obj
-<< /Type /Font /Subtype /Type0 /Encoding /Identity-H /BaseFont /MNTVAL+CMUSerif-Roman /DescendantFonts [ 18 0 R ] /ToUnicode 17 0 R >>
+<< /Type /Font /Subtype /Type0 /Encoding /Identity-H /BaseFont /IAMCEJ+LMRoman10-Regular /DescendantFonts [ 18 0 R ] /ToUnicode 17 0 R >>
 endobj
 18 0 obj
-<< /Type /Font /Subtype /CIDFontType0 /BaseFont /MNTVAL+CMUSerif-Roman /FontDescriptor 14 0 R /W 13 0 R /CIDSystemInfo << /Registry (Adobe) /Ordering (Identity) /Supplement 0 >> >>
+<< /Type /Font /Subtype /CIDFontType0 /BaseFont /IAMCEJ+LMRoman10-Regular /FontDescriptor 14 0 R /W 13 0 R /CIDSystemInfo << /Registry (Adobe) /Ordering (Identity) /Supplement 0 >> >>
 endobj
 6 0 obj
 << /Type /Pages  /Count 1 /Kids [ 2 0 R ] >>
@@ -146,28 +163,28 @@ endobj
 xref
 0 21
 0000000000 65535 f 
-0000000331 00000 n 
-0000000218 00000 n 
+0000000576 00000 n 
+0000000463 00000 n 
 0000000020 00000 n 
-0000005233 00000 n 
-0000002154 00000 n 
-0000005580 00000 n 
-0000000410 00000 n 
-0000001168 00000 n 
-0000000440 00000 n 
-0000000510 00000 n 
-0000001402 00000 n 
-0000002307 00000 n 
-0000002505 00000 n 
-0000004193 00000 n 
-0000002565 00000 n 
-0000002896 00000 n 
-0000004426 00000 n 
-0000005383 00000 n 
-0000005640 00000 n 
-0000005690 00000 n 
+0000006689 00000 n 
+0000002399 00000 n 
+0000007042 00000 n 
+0000000655 00000 n 
+0000001413 00000 n 
+0000000685 00000 n 
+0000000755 00000 n 
+0000001647 00000 n 
+0000002552 00000 n 
+0000002750 00000 n 
+0000005504 00000 n 
+0000002935 00000 n 
+0000003006 00000 n 
+0000005740 00000 n 
+0000006842 00000 n 
+0000007102 00000 n 
+0000007152 00000 n 
 trailer
 << /Size 21 /Root 19 0 R /Info 20 0 R >>
 startxref
-5762
+7224
 %%EOF





More information about the latex3-commits mailing list.