create
Creates a driver primed for a brand-new document.
Parameters
metadata
fields written into the PDF info dictionary.
customFonts
every PdfFont.Custom referenced anywhere in the document. The factory is responsible for registering these with the underlying platform font manager so subsequent PdfCanvas.drawText calls can resolve them by name.