There were two answers https://lists.apache.org/thread/pn1hvwvlszz9h74gy9vv7nx7gt30qlbt
Tilman On 03.06.2024 14:23, Anil Basavaraju wrote:
Hi Pdfbox team, Can you please check our request below. Thank You, Anil B From: Anil Basavaraju Sent: Thursday, May 30, 2024 9:06 PM To: users@pdfbox.apache.org Cc: Sudarshan Desai <sde...@accurate.com> Subject: File size issue when we use arial-unicode-ms font with pdfbox Hi Pdfbox team, We have a requirement to prefill the pdf with different languages including CJK (Chinese, Japanese, Korean) and some special characters. So we embedded arial-unicode-ms.ttf with pdfbox. The ttf file is about 22.7 MB. We are able to prefill the pdf form with the languages and special characters. But the issue is the size of the pdf file becomes around 27 MB. Before prefilling the pdf file size is around 2 MB. We need to upload this pdf file after prefilling, which is taking more time which is not a good user experience. Is there any way where we can reduce the pdf file size using pdfbox? Note: If we use any other font/ttf file which is smaller in size, it is not supporting CJK. Thanks, Anil
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users-h...@pdfbox.apache.org