Skip to content

Commit ee6af21

Browse files
committed
Add failing test for arXiv issue
1 parent 6d658ae commit ee6af21

File tree

4 files changed

+28
-0
lines changed

4 files changed

+28
-0
lines changed

Diff for: tests/tex-outputs.rs

+7
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,13 @@ fn file_encoding() {
205205
.go()
206206
}
207207

208+
#[test]
209+
fn utf8_chars() {
210+
TestCase::new("utf8_chars")
211+
.expect(Ok(TexOutcome::Warnings))
212+
.go();
213+
}
214+
208215
/// An issue triggered by a bug in how the I/O subsystem reported file offsets
209216
/// after an ungetc() call.
210217
#[test]

Diff for: tests/tex-outputs/utf8_chars.log

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
**
2+
(utf8_chars.tex
3+
Missing character: There is no א (U+05D0) in font [lmroman12-regular]!
4+
Missing character: There is no ֳ (U+05B3) in font [lmroman12-regular]!
5+
Missing character: There is no ר (U+05E8) in font [lmroman12-regular]!
6+
Missing character: There is no ָ (U+05B8) in font [lmroman12-regular]!
7+
Missing character: There is no נ (U+05E0) in font [lmroman12-regular]!
8+
Missing character: There is no ִ (U+05B4) in font [lmroman12-regular]!
9+
Missing character: There is no י (U+05D9) in font [lmroman12-regular]!
10+
Missing character: There is no ם (U+05DD) in font [lmroman12-regular]!
11+
Missing character: There is no ֳ (U+05B3) in font [lmroman12-regular]!
12+
[1] )
13+
Output written on utf8_chars.xdv (1 page, 728 bytes).

Diff for: tests/tex-outputs/utf8_chars.tex

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
% Examples of non-ASCII/Latin text
2+
\font\r="[lmroman12-regular]"
3+
4+
% Missing in font - intentional
5+
\r Hebrew: אֳרָנִים
6+
\r Hebrew modifier on Latin: 9ֳ9
7+
8+
\bye

Diff for: tests/tex-outputs/utf8_chars.xdv

728 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)