Katja Sondermann created PDFBOX-5466: ----------------------------------------
Summary: Print to PDF printer results in large PDF + text content is not selectable anymore Key: PDFBOX-5466 URL: https://issues.apache.org/jira/browse/PDFBOX-5466 Project: PDFBox Issue Type: Bug Components: Utilities Affects Versions: 2.0.24 Reporter: Katja Sondermann When printing a PDF to Pdf Printer, the resulting PDF is much larger than the original (e.g. 140 KB original vs 955 KB printed with PDFBox to a PDF printer), furthermore the text content of the original can no longer be selected in a viewer (e.g. Acrrobat Reader), content seems to be rendered as image. Is there a chance to solve this? The priting is called with the following code: int dpi = 600; // tested various values here, also 0 PDDocument document = loadMyPdDocument(); PDFPageable pdfPageable = new PDFPageable(document, Orientation.AUTO, false, dpi); PrinterJob.getPrinterJob().setPageable(pdfPageable); -- This message was sent by Atlassian Jira (v8.20.7#820007) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org