[Python] FPDF2 render_toc spans multiple pages it writes over page headers

Discussão em 'Python' iniciado por Stack, Dezembro 26, 2024.

  1. Stack

    Stack Membro Participativo

    Basically if my table of contents exceeds one-page then it the contents of the 2nd page overlaps with the document header.

    I tried adding

    self.set_y(15)


    at the end of the header function. However this didn't help.

    Continue reading...

Compartilhe esta Página