Add two spaces after line number and reduce max chars to 57
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled

- Insert two spaces after the tab between line number and content.
- Reduce max_chars from 58 to 57 to slightly shorten each visual line.
This commit is contained in:
admin
2026-06-17 02:00:08 +00:00
parent b2dce9e048
commit f5836d83f3
+2 -2
View File
@@ -395,7 +395,7 @@ def _add_transcript_paragraph(doc, line_text, line_number):
run_ln.font.size = Pt(12) run_ln.font.size = Pt(12)
run_ln.underline = False run_ln.underline = False
# Tab between line number and content # Tab + two spaces between line number and content for extra white space
run_tab = p.add_run("\t ") run_tab = p.add_run("\t ")
run_tab.font.name = "Courier" run_tab.font.name = "Courier"
run_tab.font.size = Pt(12) run_tab.font.size = Pt(12)
@@ -458,7 +458,7 @@ def create_transcript_docx(text: str, filename: str):
_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 (for 12pt Courier, 1" margins)
max_chars = 58 max_chars = 57
# Lines per page before restarting numbering # Lines per page before restarting numbering
lines_per_page = 29 lines_per_page = 29