New help on automatic page break
hannahoo06 opened this issue · 2 comments
From the README, it seems automatic page break is supported. In my local testing, when I keep writing texts, there's no new page generated and the additional text which cannot fit in a single page just disappears. Could you help me understand how auto page break can be enabled? Thanks!
Looks like pdf.Text doesn't support automatic page break while pdf.Cell() does. I'm planning to write a page with the given JSON input which contains a list of sections, each section contains a title and text content. Which method shall I use in this case? If I keep calling Cell() to add new sections, the y axis value doesn't seem to get updated everytime
Have found an example in https://github.com/go-pdf/fpdf/blob/main/fpdf_test.go#L350