Make sure the fonts are subset, and use each font object only once i.e.
don't use several font objects for the same font in one PDF.
Same for images: don't use several image objects for the same image
(e.g. a company logo that appears on every page).
For further advice, please upload a result file to a sharehoster.
Tilman
On 15.07.2024 08:11, praveen buya wrote:
Hi Team,
We are working on a requirement to convert Zebra format to PDF using
PDFBox, we are parsing the Zebra format text and manually drawing ,
inserting text and tables,Images in PDF format using PDFBox
PDPageContentStream , PDImageXObject etc. But the issue which we have is
with the file size. Is there any way or recommendations to have a small
file size generated from PDFBox.
Thanks & Regards
Praveen
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org