Problem
Hollywood spec calls for a 1.5″ (3.81cm) left margin. Scriptty uses 3cm (~1.18″), which is ~8mm too narrow. Every downstream indent was tuned against the wrong baseline, so dialogue isn't at 2.5″ from paper edge and character cues aren't at 3.7″.
Current state
src-tauri/src/screenplay/pdf.rs:699 — embedded Hollywood left: 3cm
src-tauri/src/screenplay/pdf.rs:1546 — standalone Hollywood left: 3cm
Character cue padding pad(left: 6cm), dialogue pad(left: 3.5cm, right: 3cm), parenthetical pad(left: 4.5cm, right: 3.5cm) are all computed relative to the 3cm text box.
Suggested fix
- Change page margin to
left: 3.81cm.
- Reduce each
pad(left: ...) by 0.81cm to preserve the intended positions from the page edge:
- character cue
pad(left: 6cm) → pad(left: 5.19cm)
- dialogue
pad(left: 3.5cm, right: 3cm) → pad(left: 2.69cm, right: 3cm)
- parenthetical
pad(left: 4.5cm, right: 3.5cm) → pad(left: 3.69cm, right: 3.5cm)
- Update the unit tests in
pdf.rs that assert on pad(left: 6cm) etc. (around line 1909+).
Problem
Hollywood spec calls for a 1.5″ (3.81cm) left margin. Scriptty uses 3cm (~1.18″), which is ~8mm too narrow. Every downstream indent was tuned against the wrong baseline, so dialogue isn't at 2.5″ from paper edge and character cues aren't at 3.7″.
Current state
src-tauri/src/screenplay/pdf.rs:699— embedded Hollywoodleft: 3cmsrc-tauri/src/screenplay/pdf.rs:1546— standalone Hollywoodleft: 3cmCharacter cue padding
pad(left: 6cm), dialoguepad(left: 3.5cm, right: 3cm), parentheticalpad(left: 4.5cm, right: 3.5cm)are all computed relative to the 3cm text box.Suggested fix
left: 3.81cm.pad(left: ...)by 0.81cm to preserve the intended positions from the page edge:pad(left: 6cm)→pad(left: 5.19cm)pad(left: 3.5cm, right: 3cm)→pad(left: 2.69cm, right: 3cm)pad(left: 4.5cm, right: 3.5cm)→pad(left: 3.69cm, right: 3.5cm)pdf.rsthat assert onpad(left: 6cm)etc. (around line 1909+).