Bug 281683 - Pdf Report - huge file size
Summary: Pdf Report - huge file size
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.3.2   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 2.5.1   Edit
Assignee: Gang Liu CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
: 281684 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-26 11:54 EDT by coolguy Mising name CLA
Modified: 2009-08-20 01:59 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.