Large PDF size

edited March 2013 in FastReport 4.0
Hi,

I used FR version 3.24 with Delphi 2006 and produced PDFs had size around 180KB.
After switching to XE2 and FR 4.12 my PDFs have size around 1MB.

This is big problem for me because I have users who are sending thousands of PDFs every day and are complaining about speed.

I used this properties to reduce PDF size but with this I can't be sure that PDF on all PCs will be shown correctly.
....EmbeddedFonts :=False;
.....EmbedFontsIfProtected :=False;

What do You recommend me to do?

regards
Davor

Comments

  • edited 2:41AM
    It is a long standing problem and there are more than one thread about it.

    It is the fonts which are embedded in the PDF with all the characters the font has which makes it so big.

    If you can, make sure that you use the same font throughout your report. You can change the font size but not use bold or italics.
    In this way only one font has to be embedded in the PDF.
  • edited 2:41AM
    austingrd wrote: »
    austingrd wrote: »
    You can change the font size but not use bold or italics.

    Thanks. What is it with italics that can cause the file sizes to be way larger?
    Normal, bold and italics are distinct and separate fonts. If used then each one gets embedded in full in the PDF, even if you just used one character of it. This is one thing the promised FR5 will solve, if we ever see FR5.
    Font size is achieved through vector scaling, so no additional embedded information.


  • edited 2:41AM
    Thank You all for Your suggestions.

    Davor

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.