Cover Greek text through the Liberation fallback
This commit is contained in:
1 parent
067917eae5
commit
7e006cea86
5 files changed
+55
-4
No files matched your search
@@ -5764,6 +5764,14 @@ mod source_tests {
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn greek_text_paints_in_previews() {
|
||||
let json =
|
||||
preview_json("\u{3b1}\u{3b2}\u{3b3} \u{3bc}\u{3ad}\u{3b3}\u{3b1}").expect("preview");
|
||||
assert!(json.contains(">\u{3b1}</text>"), "got {json}");
|
||||
assert!(!json.contains(">?</text>"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn addtolength_updates_named_lengths() {
|
||||
let source = "\\newlength{\\gutter}\n\\setlength{\\gutter}{6pt}\n\\addtolength{\\gutter}{2pt}\n\\setlength{\\parindent}{\\gutter}\n\nText.";
|
||||
|
||||
Reference in new issue
Block a user