Bug 281683

Summary: Pdf Report - huge file size
Product: z_Archived Reporter: coolguy Mising name <sanker.s>
Component: BIRTAssignee: Gang Liu <hustlg>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: asinha, hustlg, wenfeng.fwd, wyan
Version: 2.3.2Keywords: performance
Target Milestone: 2.5.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description coolguy Mising name CLA 2009-06-26 11:54:27 EDT
Build ID: 2.3.2

Steps To Reproduce:
1. Alternative [Simplest] way:- Create a report with one text field in BIRT. Generate PDF report. The size of the file is 10KB. [where as in Jasper reports and Crystal, the same thing results in a 1KB report ]
2.


More information:
Jason suggested to open a bug for this issue:- 

Is there a way to reduce the size of the pdf report that BIRt generates? I tried to generate a report with around 400 records that spans across 25 pages (with a logo in each page). The generated report size was around 300K where as a similar report generated in Jasper report and crystal consumed only 80K. I'm using BIRT version 2.3.2. However I tried using 2.5RC4 and the size is more or less the same.

In my opinion, product evaluations of reporting tools gives BIRT a red flag [despite intuitive designer and strong feature set]. Hence I marked the severity as major.
Comment 1 Gang Liu CLA 2009-06-28 21:42:54 EDT
*** Bug 281684 has been marked as a duplicate of this bug. ***
Comment 2 Gang Liu CLA 2009-07-08 04:03:36 EDT
I create a simple report with one line text, and preivew in 2.5.1
1. use TrueType font, The pdf file is about 10,131 bytes.
2. use Type 1 font, The pdf file is about 1,026 bytes.

Currently Birt will embed the TrueType font into the pdf file, which makes the issue. 
Comment 3 Wenfeng Li CLA 2009-07-15 13:09:44 EDT
1. What do you think about changing BIRT's default font to be a type 1 font?

2. And add an render option not to embed true type font?
Comment 4 Wei Yan CLA 2009-08-16 23:55:26 EDT
1. the default font has been set to type-1.
2. we can't support not embed true-type fonts as the iText doesn't support it.