Model TeX tolerance and hyphen penalty registers

This commit is contained in:
texrra committed 2026-10-23 01:05:28 +08:00
1 parent 4fbc43f5ff
commit 3725cca9d7
6 files changed
+148 -23

No files matched your search

+16
View File
@@ -17,6 +17,10 @@ fn body_style() -> ParagraphStyle {
right_aligned: false,
par_indent: 0,
emergencystretch: 0,
pretolerance: 100,
tolerance: 200,
hyphen_penalty: 50,
ex_hyphen_penalty: 50,
line_height: 12 * 65_536,
char_width: font.width('x'),
space_width: font.space(),
@@ -154,6 +158,10 @@ fn route_d_page_matches_pdftex_raster_geometry() {
right_aligned: false,
par_indent: 0,
emergencystretch: 0,
pretolerance: 100,
tolerance: 200,
hyphen_penalty: 50,
ex_hyphen_penalty: 50,
line_height: 12 * 65_536,
char_width: 10 * 65_536,
space_width: 4 * 65_536,
@@ -302,6 +310,10 @@ fn route_d_two_pages_match_pdftex_raster_geometry() {
right_aligned: false,
par_indent: 0,
emergencystretch: 0,
pretolerance: 100,
tolerance: 200,
hyphen_penalty: 50,
ex_hyphen_penalty: 50,
line_height: 12 * 65_536,
char_width: 10 * 65_536,
space_width: 4 * 65_536,
@@ -580,6 +592,10 @@ fn route_d_multiline_bands_track_pdftex() {
right_aligned: false,
par_indent: 0,
emergencystretch: 0,
pretolerance: 100,
tolerance: 200,
hyphen_penalty: 50,
ex_hyphen_penalty: 50,
line_height: 12 * 65_536,
char_width: 10 * 65_536,
space_width: 4 * 65_536,