From 7a672a84e1e9b241f5129fc769d4f5a0d1be8082 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20Fabian=20Kr=C3=BCger?= Date: Sun, 1 May 2022 17:37:07 +0200 Subject: [PATCH] German case-changing test --- testfiles/case-de.lvt | 20 ++++ testfiles/case-de.tlg | 236 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 256 insertions(+) create mode 100644 testfiles/case-de.lvt create mode 100644 testfiles/case-de.tlg diff --git a/testfiles/case-de.lvt b/testfiles/case-de.lvt new file mode 100644 index 00000000..070e4b8b --- /dev/null +++ b/testfiles/case-de.lvt @@ -0,0 +1,20 @@ +\input{regression-test} +\documentclass{article} +\usepackage{fontspec} +\setmainfont[Script=Latin,Language=German]{Noto Serif} +\ExplSyntaxOn +\NewDocumentCommand\showUpper{m}{ + #1&\text_uppercase:nn{de}{#1}&\text_uppercase:nn{de-alt}{#1}&\addfontfeatures{RawFeature={upper=de}}#1&\addfontfeatures{RawFeature={upper=de-alt}}#1 +} +\ExplSyntaxOff +\begin{document} +\showoutput +\START +\tiny +\begin{tabular}{ccccc} + \showUpper{Hallo}\\ + \showUpper{Tschüß}\\ +\end{tabular} +\clearpage +\END +\end{document} diff --git a/testfiles/case-de.tlg b/testfiles/case-de.tlg new file mode 100644 index 00000000..1659a8ff --- /dev/null +++ b/testfiles/case-de.tlg @@ -0,0 +1,236 @@ +This is a generated file for the l3build validation system. +Don't change this file in any respect. +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <5> on input line .... +luaotfload | aux : font no 34 (nil) defines no feature for script latn with language deu +Package fontspec Warning: Language 'German' not available for font 'NotoSerif' +(fontspec) with script 'Latin'. +Package fontspec Info: Font family 'NotoSerif(1)' created for font 'Noto +(fontspec) Serif' with options +(fontspec) [Ligatures=TeX,Script=Latin,Language=German,RawFeature={upper=de}]. +(fontspec) +(fontspec) This font family consists of the following NFSS +(fontspec) series/shapes: +(fontspec) +(fontspec) - 'normal' (m/n) with NFSS spec.: +(fontspec) <->"NotoSerif:mode=node;script=latn;language=dflt;+tlig;upper=de;" +(fontspec) - 'small caps' (m/sc) with NFSS spec.: +(fontspec) <->"NotoSerif:mode=node;script=latn;language=dflt;+tlig;upper=de;+smcp;" +(fontspec) - 'bold' (b/n) with NFSS spec.: +(fontspec) <->"NotoSerif/B:mode=node;script=latn;language=dflt;+tlig;upper=de;" +(fontspec) - 'bold small caps' (b/sc) with NFSS spec.: +(fontspec) <->"NotoSerif/B:mode=node;script=latn;language=dflt;+tlig;upper=de;+smcp;" +(fontspec) - 'italic' (m/it) with NFSS spec.: +(fontspec) <->"NotoSerif/I:mode=node;script=latn;language=dflt;+tlig;upper=de;" +(fontspec) - 'italic small caps' (m/scit) with NFSS spec.: +(fontspec) <->"NotoSerif/I:mode=node;script=latn;language=dflt;+tlig;upper=de;+smcp;" +(fontspec) - 'bold italic' (b/it) with NFSS spec.: +(fontspec) <->"NotoSerif/BI:mode=node;script=latn;language=dflt;+tlig;upper=de;" +(fontspec) - 'bold italic small caps' (b/scit) with NFSS spec.: +(fontspec) <->"NotoSerif/BI:mode=node;script=latn;language=dflt;+tlig;upper=de;+smcp;" +luaotfload | aux : font no 34 (nil) defines no feature for script latn with language deu +Package fontspec Warning: Language 'German' not available for font 'NotoSerif' +(fontspec) with script 'Latin'. +Package fontspec Info: Font family 'NotoSerif(2)' created for font 'Noto +(fontspec) Serif' with options +(fontspec) [Ligatures=TeX,Script=Latin,Language=German,RawFeature={upper=de-alt}]. +(fontspec) +(fontspec) This font family consists of the following NFSS +(fontspec) series/shapes: +(fontspec) +(fontspec) - 'normal' (m/n) with NFSS spec.: +(fontspec) <->"NotoSerif:mode=node;script=latn;language=dflt;+tlig;upper=de-alt;" +(fontspec) - 'small caps' (m/sc) with NFSS spec.: +(fontspec) <->"NotoSerif:mode=node;script=latn;language=dflt;+tlig;upper=de-alt;+smcp;" +(fontspec) - 'bold' (b/n) with NFSS spec.: +(fontspec) <->"NotoSerif/B:mode=node;script=latn;language=dflt;+tlig;upper=de-alt;" +(fontspec) - 'bold small caps' (b/sc) with NFSS spec.: +(fontspec) <->"NotoSerif/B:mode=node;script=latn;language=dflt;+tlig;upper=de-alt;+smcp;" +(fontspec) - 'italic' (m/it) with NFSS spec.: +(fontspec) <->"NotoSerif/I:mode=node;script=latn;language=dflt;+tlig;upper=de-alt;" +(fontspec) - 'italic small caps' (m/scit) with NFSS spec.: +(fontspec) <->"NotoSerif/I:mode=node;script=latn;language=dflt;+tlig;upper=de-alt;+smcp;" +(fontspec) - 'bold italic' (b/it) with NFSS spec.: +(fontspec) <->"NotoSerif/BI:mode=node;script=latn;language=dflt;+tlig;upper=de-alt;" +(fontspec) - 'bold italic small caps' (b/scit) with NFSS spec.: +(fontspec) <->"NotoSerif/BI:mode=node;script=latn;language=dflt;+tlig;upper=de-alt;+smcp;" +luaotfload | aux : font no 34 (nil) defines no feature for script latn with language deu +Package fontspec Warning: Language 'German' not available for font 'NotoSerif' +(fontspec) with script 'Latin'. +luaotfload | aux : font no 34 (nil) defines no feature for script latn with language deu +Package fontspec Warning: Language 'German' not available for font 'NotoSerif' +(fontspec) with script 'Latin'. +Completed box being shipped out [1] +\vbox(633.0+0.0)x407.0, direction TLT +.\glue 16.0 +.\vbox(617.0+0.0)x345.0, shifted 62.0, direction TLT +..\vbox(12.0+0.0)x345.0, glue set 12.0fil, direction TLT +...\glue 0.0 plus 1.0fil +...\hbox(0.0+0.0)x345.0, direction TLT +....\hbox(0.0+0.0)x345.0, direction TLT +..\glue 25.0 +..\glue(\lineskip) 0.0 +..\vbox(550.0+0.0)x345.0, glue set 539.94232fil, direction TLT +...\write-{} +...\glue(\topskip) 2.57748 +...\hbox(7.42252+4.9225)x345.0, glue set 169.43983fil, direction TLT +....\localpar +.....\localinterlinepenalty=0 +.....\localbrokenpenalty=0 +.....\localleftbox=null +.....\localrightbox=null +....\hbox(0.0+0.0)x15.0, direction TLT +....\hbox(7.42252+4.9225)x160.56017, direction TLT +.....\mathon +.....\vbox(7.42252+4.9225)x160.56017, direction TLT +......\hbox(4.19998+1.80002)x160.56017, direction TLT +.......\glue(\tabskip) 0.0 +.......\hbox(4.19998+1.80002)x29.34004, glue set 2.28752fil, direction TLT +........\rule(4.19998+1.80002)x0.0 +........\glue 6.0 +........\glue 0.0 plus 1.0fil +........\glue 0.00002 +........\TU/NotoSerif(0)/m/n/5 H +........\TU/NotoSerif(0)/m/n/5 a +........\TU/NotoSerif(0)/m/n/5 l +........\TU/NotoSerif(0)/m/n/5 l +........\TU/NotoSerif(0)/m/n/5 o +........\glue 0.0 plus 1.0fil +........\glue 6.0 +.......\glue(\tabskip) 0.0 +.......\hbox(4.19998+1.80002)x33.84503, glue set 2.2075fil, direction TLT +........\glue 6.0 +........\glue 0.0 plus 1.0fil +........\glue 0.00002 +........\TU/NotoSerif(0)/m/n/5 H +........\TU/NotoSerif(0)/m/n/5 A +........\TU/NotoSerif(0)/m/n/5 L +........\TU/NotoSerif(0)/m/n/5 L +........\TU/NotoSerif(0)/m/n/5 O +........\glue 0.0 plus 1.0fil +........\glue 6.0 +.......\glue(\tabskip) 0.0 +.......\hbox(4.19998+1.80002)x31.76503, glue set 1.16751fil, direction TLT +........\glue 6.0 +........\glue 0.0 plus 1.0fil +........\glue 0.00002 +........\TU/NotoSerif(0)/m/n/5 H +........\TU/NotoSerif(0)/m/n/5 A +........\TU/NotoSerif(0)/m/n/5 L +........\TU/NotoSerif(0)/m/n/5 L +........\TU/NotoSerif(0)/m/n/5 O +........\glue 0.0 plus 1.0fil +........\glue 6.0 +.......\glue(\tabskip) 0.0 +.......\hbox(4.19998+1.80002)x33.84503, glue set 2.2075fil, direction TLT +........\glue 6.0 +........\glue 0.0 plus 1.0fil +........\glue 0.00002 +........\TU/NotoSerif(1)/m/n/5 H +........\TU/NotoSerif(1)/m/n/5 A +........\TU/NotoSerif(1)/m/n/5 L +........\TU/NotoSerif(1)/m/n/5 L +........\TU/NotoSerif(1)/m/n/5 O +........\glue 0.0 plus 1.0fil +........\glue 6.0 +.......\glue(\tabskip) 0.0 +.......\hbox(4.19998+1.80002)x31.76503, glue set 1.16751fil, direction TLT +........\glue 6.0 +........\glue 0.0 plus 1.0fil +........\glue 0.00002 +........\TU/NotoSerif(2)/m/n/5 H +........\TU/NotoSerif(2)/m/n/5 A +........\TU/NotoSerif(2)/m/n/5 L +........\TU/NotoSerif(2)/m/n/5 L +........\TU/NotoSerif(2)/m/n/5 O +........\glue 0.0 plus 1.0fil +........\glue 6.0 +.......\glue(\tabskip) 0.0 +......\glue(\lineskip) 0.0 +......\hbox(4.545+1.80002)x160.56017, direction TLT +.......\glue(\tabskip) 0.0 +.......\hbox(4.545+1.80002)x29.34004, direction TLT +........\rule(4.19998+1.80002)x0.0 +........\glue 6.0 +........\glue 0.0 plus 1.0fil +........\glue 0.00002 +........\TU/NotoSerif(0)/m/n/5 T +........\kern-0.025 (font) +........\TU/NotoSerif(0)/m/n/5 s +........\TU/NotoSerif(0)/m/n/5 c +........\TU/NotoSerif(0)/m/n/5 h +........\TU/NotoSerif(0)/m/n/5 ^^fc +........\TU/NotoSerif(0)/m/n/5 ^^df +........\glue 0.0 plus 1.0fil +........\glue 6.0 +.......\glue(\tabskip) 0.0 +.......\hbox(4.545+1.80002)x33.84503, direction TLT +........\glue 6.0 +........\glue 0.0 plus 1.0fil +........\glue 0.00002 +........\TU/NotoSerif(0)/m/n/5 T +........\TU/NotoSerif(0)/m/n/5 S +........\TU/NotoSerif(0)/m/n/5 C +........\TU/NotoSerif(0)/m/n/5 H +........\TU/NotoSerif(0)/m/n/5 ^^dc +........\TU/NotoSerif(0)/m/n/5 S +........\TU/NotoSerif(0)/m/n/5 S +........\glue 0.0 plus 1.0fil +........\glue 6.0 +.......\glue(\tabskip) 0.0 +.......\hbox(4.545+1.80002)x31.76503, direction TLT +........\glue 6.0 +........\glue 0.0 plus 1.0fil +........\glue 0.00002 +........\TU/NotoSerif(0)/m/n/5 T +........\TU/NotoSerif(0)/m/n/5 S +........\TU/NotoSerif(0)/m/n/5 C +........\TU/NotoSerif(0)/m/n/5 H +........\TU/NotoSerif(0)/m/n/5 ^^dc +........\kern-0.05 (font) +........\TU/NotoSerif(0)/m/n/5 ẞ +........\glue 0.0 plus 1.0fil +........\glue 6.0 +.......\glue(\tabskip) 0.0 +.......\hbox(4.545+1.80002)x33.84503, direction TLT +........\glue 6.0 +........\glue 0.0 plus 1.0fil +........\glue 0.00002 +........\TU/NotoSerif(1)/m/n/5 T +........\TU/NotoSerif(1)/m/n/5 S +........\TU/NotoSerif(1)/m/n/5 C +........\TU/NotoSerif(1)/m/n/5 H +........\TU/NotoSerif(1)/m/n/5 ^^dc +........\TU/NotoSerif(1)/m/n/5 S +........\TU/NotoSerif(1)/m/n/5 S +........\glue 0.0 plus 1.0fil +........\glue 6.0 +.......\glue(\tabskip) 0.0 +.......\hbox(4.545+1.80002)x31.76503, direction TLT +........\glue 6.0 +........\glue 0.0 plus 1.0fil +........\glue 0.00002 +........\TU/NotoSerif(2)/m/n/5 T +........\TU/NotoSerif(2)/m/n/5 S +........\TU/NotoSerif(2)/m/n/5 C +........\TU/NotoSerif(2)/m/n/5 H +........\TU/NotoSerif(2)/m/n/5 ^^dc +........\kern-0.05 (font) +........\TU/NotoSerif(2)/m/n/5 ẞ +........\glue 0.0 plus 1.0fil +........\glue 6.0 +.......\glue(\tabskip) 0.0 +.....\mathoff +....\penalty 10000 +....\glue(\parfillskip) 0.0 plus 1.0fil +....\glue(\rightskip) 0.0 +...\glue -4.9225 +...\glue 0.0 plus 1.0fil +...\glue 0.0 +...\glue 0.0 plus 0.0001fil +..\glue(\baselineskip) 22.82 +..\hbox(7.18+0.0)x345.0, direction TLT +...\hbox(7.18+0.0)x345.0, glue set 169.705fil, direction TLT +....\glue 0.0 plus 1.0fil +....\TU/NotoSerif(0)/m/n/10 1 +....\glue 0.0 plus 1.0fil