Skip to content

Commit

Permalink
Add failing test for arXiv issue
Browse files Browse the repository at this point in the history
  • Loading branch information
CraftSpider committed Mar 29, 2024
1 parent 6d658ae commit f5ad6d0
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/tex-outputs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,13 @@ fn file_encoding() {
.go()
}

#[test]
fn utf8_chars() {
TestCase::new("utf8_chars")
.expect(Ok(TexOutcome::Warnings))
.go();
}

/// An issue triggered by a bug in how the I/O subsystem reported file offsets
/// after an ungetc() call.
#[test]
Expand Down
13 changes: 13 additions & 0 deletions tests/tex-outputs/utf8_chars.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
**
(utf8_chars.tex
Missing character: There is no א (U+05D0) in font [lmroman12-regular]!
Missing character: There is no ֳ (U+05B3) in font [lmroman12-regular]!
Missing character: There is no ר (U+05E8) in font [lmroman12-regular]!
Missing character: There is no ָ (U+05B8) in font [lmroman12-regular]!
Missing character: There is no נ (U+05E0) in font [lmroman12-regular]!
Missing character: There is no ִ (U+05B4) in font [lmroman12-regular]!
Missing character: There is no י (U+05D9) in font [lmroman12-regular]!
Missing character: There is no ם (U+05DD) in font [lmroman12-regular]!
Missing character: There is no ֳ (U+05B3) in font [lmroman12-regular]!
[1] )
Output written on utf8_chars.xdv (1 page, 728 bytes).
8 changes: 8 additions & 0 deletions tests/tex-outputs/utf8_chars.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
% Examples of non-ASCII/Latin text
\font\r="[lmroman12-regular]"

% Missing in font - intentional
\r Hebrew: אֳרָנִים
\r Hebrew modifier on Latin: 9ֳ9

\bye
Empty file.

0 comments on commit f5ad6d0

Please sign in to comment.