Closed andreasrosdal closed 1 year ago
Hi, is there any news about this?
Pull requests welcome.
I don't know why PrinterGraphics and PrintJob would be needed, since Android has other mechanisms for printing.
@Drakot can you give me a code snippet / sample illustrating the issue? I need to replicate it.
It only happen to me on a device that uses API 28, but i realized the library works the same.
in OpenPDF, there's this class PdfPrinterGraphics2D
that uses PrinterGraphics
and PrinterJob
. It is only instantiated in these methods from PdfContentByte
class:
Yet none of these methods are used inside the OpenPDF project.
Make sure you're using the latest OpenPDF version,
implementation 'com.github.librepdf:openpdf:1.3.24'
PrinterGraphics is also missing on Android
https://github.com/LibrePDF/OpenPDF/issues/371