diff --git a/testfiles/script-lang-hebr.luatex.tlg b/testfiles/script-lang-hebr.luatex.tlg new file mode 100644 index 0000000..05b787e --- /dev/null +++ b/testfiles/script-lang-hebr.luatex.tlg @@ -0,0 +1,8 @@ +This is a generated file for the l3build validation system. +Don't change this file in any respect. +HEBR SELECTED (PASS) +JII NOT SELECTED (PASS) +HEBR SELECTED (PASS) +JII SELECTED (PASS) +*************** +Compilation 1 of test file completed with exit status 0 diff --git a/testfiles/script-lang-hebr.lvt b/testfiles/script-lang-hebr.lvt new file mode 100644 index 0000000..c598f80 --- /dev/null +++ b/testfiles/script-lang-hebr.lvt @@ -0,0 +1,22 @@ +\input{fontspec-testsetup.tex} + +\usepackage{fontspec} + + +\begin{document} + +\fontspec[Script=Hebrew]{DavidCLM-Medium.otf} + שם ומספר הקורס +\ExplSyntaxOn +\fontspec_if_current_script:nTF {hebr} { \MSG{HEBR~SELECTED~(PASS)} } { \MSG{HEBR~NOT~SELECTED~(FAIL)} } +\fontspec_if_current_language:nTF {JII} { \MSG{JII~SELECTED~(FAIL)} } { \MSG{JII~NOT~SELECTED~(PASS)} } +\ExplSyntaxOff + +\fontspec[Script=Hebrew,Language=Yiddish]{DavidCLM-Medium.otf} + שם ומספר הקורס +\ExplSyntaxOn +\fontspec_if_current_script:nTF {hebr} { \MSG{HEBR~SELECTED~(PASS)} } { \MSG{HEBR~NOT~SELECTED~(FAIL)} } +\fontspec_if_current_language:nTF {JII} { \MSG{JII~SELECTED~(PASS)} } { \MSG{JII~NOT~SELECTED~(FAIL)} } +\ExplSyntaxOff + +\end{document} \ No newline at end of file diff --git a/testfiles/script-lang-hebr.tlg b/testfiles/script-lang-hebr.tlg new file mode 100644 index 0000000..05b787e --- /dev/null +++ b/testfiles/script-lang-hebr.tlg @@ -0,0 +1,8 @@ +This is a generated file for the l3build validation system. +Don't change this file in any respect. +HEBR SELECTED (PASS) +JII NOT SELECTED (PASS) +HEBR SELECTED (PASS) +JII SELECTED (PASS) +*************** +Compilation 1 of test file completed with exit status 0