..." * 5214.

simulated_original_text = " ".join(["Originaltext"] * 5214)

from fpdf import FPDF

class PDF(FPDF):
    def header(self):
        self.set_font("Arial", "B", 12)
        self.cell(0, 10, "Mein Weg – nach dem Tod meiner Frau", ln=True, align="C")

    def footer(self):
        self.set_y(-15)
        self.set_font("Arial", "I", 8)
        self.cell(0, 10, f'Seite {self.page_no()}', align="C...