- Add support for Object Streams and Cross Reference Streams when saving documents. They are now used by default when calling
PDFDocumentWriter.saveToBytes(pdfDoc)
, but they can be turned off withPDFDocumentWriter.saveToBytes(pdfDoc, { useObjectStreams: false })
. - Add rotation and skewing options to
drawEllipse
,drawCircle
,drawImage
,drawRectangle
,drawSquare
,drawText
, anddrawLinesOfText
operators.