Use a 110-glyph minimal font tier for ASCII documents
This commit is contained in:
1 parent
769e3cdf17
commit
9b367e87ee
16 files changed
+64
-14
No files matched your search
@@ -130,6 +130,13 @@ fn arxiv_pdf_embeds_a_single_monospace_face() {
|
||||
faces <= 5,
|
||||
"arXiv PDF should embed four serif faces plus one monospace face, got {faces}"
|
||||
);
|
||||
if !cfg!(debug_assertions) {
|
||||
assert!(
|
||||
pdf.len() < 320_000,
|
||||
"arXiv PDF should use the compact minimal tier, got {} bytes",
|
||||
pdf.len()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in new issue
Block a user