Why generated PDF are bigger?

Added by Gauthier Brion about 9 years ago

PDF generated in April were < 5Ko (only one page of 7 issues)
PDF generated today in July are +/- 320 Ko ! (also only one page, and 3 issues)

(even if I re-create the same formular)

Replies (7)

RE: Why generated PDF are bigger? - Added by Toshi MARUYAMA about 9 years ago

Because Redmine 1.2 (#61) uses embedded fonts.

RE: Why generated PDF are bigger? - Added by Etienne Massip about 9 years ago

Make a huge difference, could be annoying for pushed reports, does the PDF needs all embedded fonts, and if yes, can't this be made configurable ?

RE: Why generated PDF are bigger? - Added by Jun NAITOH about 9 years ago

If you are en locale, so please change config/locales/en.yml "general_pdf_encoding" setting.

general_pdf_encoding Fonts
UTF-8 embedded fonts (FressSans)
ISO-8859-1 non embedded fonts (Helvetica)

RE: Why generated PDF are bigger? - Added by Gauthier Brion about 9 years ago

Thank you, updating "general_pdf_encoding" works great.

RE: Why generated PDF are bigger? - Added by Jan K. over 4 years ago

The big PDF's are still annoying. It would be nice ho have an option to embedd or not fonts into PDF in the system settings.
It really make no sense to send such big PDF's if they consist only from a short plain text. Now 1 page has 800 KB.

RE: Why generated PDF are bigger? - Added by Toshi MARUYAMA over 4 years ago

Jan K. wrote:

It really make no sense to send such big PDF's if they consist only from a short plain text. Now 1 page has 800 KB.

What Redmine version do you use?
#19017 reduces PDF file size.

RE: Why generated PDF are bigger? - Added by Shikha Rana over 4 years ago

My guess is that the PDF embeds the font, which is necessary if a document is to be truly portable

(1-7/7)