Support explicit hfil and hfill glue orders

This commit is contained in:
gloamxun committed 2026-10-23 13:15:40 +08:00
1 parent 3df21201c2
commit d63db8d12d
4 files changed
+146 -16

No files matched your search

+10
View File
@@ -795,3 +795,13 @@ fn leftskip_matches_pdftex() {
style.left_skip = 20 * 65_536;
});
}
#[test]
fn hfill_matches_pdftex() {
compare_fixture_with("alpha \\hfill beta", 150, "", |_| {});
}
#[test]
fn hfill_and_hfil_match_pdftex() {
compare_fixture_with("alpha \\hfil beta \\hfill gamma", 150, "", |_| {});
}