This is a migrated thread and some comments may be shown as answers.

PDF size 9 mbt is possible

6 Answers 86 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Yoni Dagan
Top achievements
Rank 1
Yoni Dagan asked on 18 Jun 2008, 02:19 PM
Hello,

We have a problem with export to PDF. We are exporting a report of 4 pages. Most of these pages has textual information and only one picture of PNG (~50K). However the PDF file is 9Mbt. Does it sound resonable? How can we make it much smaller

Thank you


6 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 18 Jun 2008, 03:04 PM
Hello Sergey,

You can check out this KB article and see how much difference does it make when disabling the font embedding.

Best wishes,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Yoni Dagan
Top achievements
Rank 1
answered on 19 Jun 2008, 04:48 AM
Hi, Steve!
I desabled embedding font:

<

Telerik.Reporting>

<

Extensions>

<

Render>

<

Extension name="IMAGE" visible="false">

</

Extension>

<

Extension name="HTML" visible="false"></Extension>

<

Extension name="MHTML" visible="false"></Extension>

<

Extension name="XLS" visible="true"></Extension>

<

Extension name="CSV" visible="false"></Extension>

<

Extension name="RTF" visible="true">

<

Parameters>

<

Parameter name="FontEmbedding" value="Subset"/>

</

Parameters>

</

Extension>

</

Render>

</

Extensions>

</

Telerik.Reporting>

size reduce from 9 to 8.94. May be I err?
Thanks ahead,Sergey

0
Yoni Dagan
Top achievements
Rank 1
answered on 19 Jun 2008, 04:49 AM
Error! I
0
Steve
Telerik team
answered on 19 Jun 2008, 03:38 PM
Hello Sergey,

What error do you receive? The font embedding setting would make a difference depending on the report size ( e.g. 1000+ rows) and depending on the exact font used. That is why we kindly ask you to send us the report and exported pdf, so that we can review it locally and advise you accordingly. You can open a support ticket, zip and attach your report there.

Sincerely yours,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Accepted
Steve
Telerik team
answered on 20 Jun 2008, 11:54 AM
Hello Sergey,

This is just a quick follow up, as we've noticed what is causing the problem in your extension settings. You have mistakenly entered RTF for the extension name with fontembedding instead of PDF. Change this line:

<Extension name="RTF" visible="true">
to
<Extension name="PDF" visible="true">
....

Regards,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Yoni Dagan
Top achievements
Rank 1
answered on 22 Jun 2008, 04:57 AM
Thans,you problem decided!
Tags
General Discussions
Asked by
Yoni Dagan
Top achievements
Rank 1
Answers by
Steve
Telerik team
Yoni Dagan
Top achievements
Rank 1
Share this question
or