Home / Community & Support / Knowledge Base / Telerik Reporting / Designing Reports / The size of the exported PDF file is big

The size of the exported PDF file is big

Article Info

Rating: 4

Article information

Article relates to

Telerik Reporting

Created by

Trayko Stoilov

Last modified

03 March, 2009

Last modified by

Steve


DESCRIPTION
When exporting to PDF the exported file size is very big

SOLUTION
The most probable reason for the large size is that fonts are embedded by default in the PDF document.

With version Q3 2007 of Telerik Reporting we have introduced the capability to configure the rendering extensions. As far as the PDF export is concerned you can choose whether and how to embed used fonts in the resulting document.

If you would like to reduce the file size, you can try with the values Subset or None for the FontEmbedding parameter i.e.:

<configSections> 
    <section name="Telerik.Reporting" type="Telerik.Reporting.Processing.Config.ReportingConfigurationSection, Telerik.Reporting, Version=x.x.x.x, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" allowLocation="true" allowDefinition="Everywhere" /> 
  </configSections> 
  <Telerik.Reporting> 
    <Extensions> 
      <Render> 
        <Extension name="PDF"
          <Parameters> 
            <Parameter name="FontEmbedding" value="None" /> 
          </Parameters> 
        </Extension> 
      </Render> 
    </Extensions> 
  </Telerik.Reporting> 

For more information please see Configuring Telerik Reporting and Device Information Settings.

Note: The code sample has the version listed as Version=x.x.x.x  -  you should change that with the exact assembly version you use before proceeding.

Comments

If you'd like to comment on this KB article, please, send us a Support Ticket.
Thank you!

Please Sign In to rate this article.