Skip to content

Commit

Permalink
add test file for DavidCLM
Browse files Browse the repository at this point in the history
closes #516
  • Loading branch information
wspr committed May 11, 2024
1 parent ab0d464 commit 8108e0d
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
8 changes: 8 additions & 0 deletions testfiles/script-lang-hebr.luatex.tlg
Original file line number Diff line number Diff line change
@@ -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
22 changes: 22 additions & 0 deletions testfiles/script-lang-hebr.lvt
Original file line number Diff line number Diff line change
@@ -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}
8 changes: 8 additions & 0 deletions testfiles/script-lang-hebr.tlg
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8108e0d

Please sign in to comment.