draw2d
draw2d copied to clipboard
Multipage-PDF file
How can I create a PDF file with more than one page with the library? I do not understand, how a graphic context maps to a page in a PDF-file.
I did not find an example, that uses more than one PDF page... What is the recommended way to achieve this?
Hi @tindli, we uses https://github.com/jung-kurt/gofpdf to generate pdf. daw2d can draw in a pdf but cannot handle pages. You need to use gofpdf for this.
(I'm redstarcoder, I'm moving all my accounts to this one, longtime no see)
It seems jung-kurt is archived. I believe https://github.com/phpdave11/gofpdf is the most maintained fork.
Another (good) option seems to be https://github.com/pdfcpu/pdfcpu