Enforce 60-char max per full line including spaces
- Reduce content max_chars to 48 so that: - line_number (up to 2) + spaces (up to 9) + content (48) <= 60.
This commit is contained in:
@@ -464,8 +464,8 @@ def create_transcript_docx(text: str, filename: str):
|
|||||||
# Configure section properties (margins, no built-in line numbering)
|
# Configure section properties (margins, no built-in line numbering)
|
||||||
_create_transcript_section_properties(doc.sections[0])
|
_create_transcript_section_properties(doc.sections[0])
|
||||||
|
|
||||||
# Max characters per visual line (for 12pt Courier, 1" margins)
|
# Max characters per visual line (content only; total line including line number and spaces <= 60)
|
||||||
max_chars = 60
|
max_chars = 48
|
||||||
|
|
||||||
# Lines per page before restarting numbering
|
# Lines per page before restarting numbering
|
||||||
lines_per_page = 29
|
lines_per_page = 29
|
||||||
|
|||||||
Reference in New Issue
Block a user