aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--screenplain/export/pdf.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/screenplain/export/pdf.py b/screenplain/export/pdf.py
index a22b933..6c2f1a6 100644
--- a/screenplain/export/pdf.py
+++ b/screenplain/export/pdf.py
@@ -206,7 +206,8 @@ def get_title_page_story(screenplay):
if top_space > 0:
story.append(Spacer(frame_width, top_space))
story += title_story
- middle_space = frame_height - top_space - title_height - lower_height
+ # The minus 6 adds some room for rounding errors and whatnot
+ middle_space = frame_height - top_space - title_height - lower_height - 6
if middle_space > 0:
story.append(Spacer(frame_width, middle_space))
story += lower_story