Match TeX hyphenation and justification semantics
This commit is contained in:
1 parent
ac134b3c4e
commit
4fbc43f5ff
6 files changed
+5074
-56
No files matched your search
@@ -261,3 +261,13 @@ fn paragraph_breaks_match_pdftex_at_150pt() {
|
||||
fn paragraph_breaks_match_pdftex_at_180pt() {
|
||||
compare_fixture(WORDS, 180);
|
||||
}
|
||||
|
||||
/// Several measures in one run: 100/120pt exercise hyphenated and overfull
|
||||
/// breaks, 150pt needs TeX's final-pass overfull box, and 180/200/240pt are
|
||||
/// ordinary tolerance solutions.
|
||||
#[test]
|
||||
fn paragraph_breaks_match_pdftex_across_measures() {
|
||||
for width in [100u32, 120, 150, 180, 200, 240] {
|
||||
compare_fixture(WORDS, width);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user