Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 339177

Summary: incomplete PDF using BIRT 2.6.2 and BIRT 2.6.1
Product: z_Archived Reporter: lpizarro
Component: BIRTAssignee: Birt-ReportEngine-inbox <Birt-ReportEngine-inbox>
Status: CLOSED DUPLICATE QA Contact: Xiaoying Gu <bluesoldier>
Severity: critical    
Priority: P3 CC: bluesoldier, jasonweathersby, lpizarro, scaracas, wyan
Version: 2.6.2   
Target Milestone: 3.7.0   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Report design none

Description lpizarro CLA 2011-03-08 04:05:40 EST
The PDF report appears incomplete using BIRT 2.6.2 and BIRT 2.6.1.
All our reports have been and are generated with the version "BIRT 2.3.2" because it seems stable.
To reproduce this problem, we created a rptdesign (see rptdesign file attached) with "BIRT 2.3.2".
Then generate a PDF file using View Report with "BIRT 2.3.2", "BIRT 2.6.1" and "BIRT 2.6.2" with our rptdesign.
On PDF from "BIRT 2.3.2" all information is displayed.
On PDF from "BIRT 2.6.1" and "BIRT 2.6.2" the first page is blank.

So, setting "Layout preference" property to "Fixed Layout" on our rptdesign, and generating PDF files with BIRT 2.6.1 and 2.6.2 information is partially showed.

We would use "BIRT 2.6.2" but this problem that affects all our reports prevents us from doing so.

If this is a bug... thank you for correcting this problem.
Comment 1 lpizarro CLA 2011-03-08 04:12:36 EST
Created attachment 190631 [details]
Report design
Comment 2 lpizarro CLA 2011-03-09 07:19:27 EST
(In reply to comment #1)
> Created attachment 190631 [details]
> Report design

I think the problem is the styles of type fonts Medium, Small, X-small that no longer work as before.
If I replace
- Medium by 9 points
- Small by 7 points
- X-small with 6 points
I find the desired result with BIRT 2.6.2.

The only problem that persists is the size of the PNG and GIF (inserted dynamically in my case), it is smaller than what is expected.

So, what happened with these styles of Fonts?
Have you this same behavior with these styles of Fonts?
Is BIRT the cause of this problem or not?
Comment 3 lpizarro CLA 2011-03-09 12:06:25 EST
I have found the same problem 
posted in Birt Exchange Forum
http://www.birt-exchange.org/org/forum/index.php/topic/20206-font-size-issue-while-upgrading-to-birt-2-6/

and posted on august 9th 2010 in Bugzilla
https://bugs.eclipse.org/bugs/show_bug.cgi?id=322103
Comment 4 Wei Yan CLA 2011-03-09 17:10:20 EST
BIRT changes the default size for small in 2.6 to sync with the modern browser.

*** This bug has been marked as a duplicate of bug 322103 ***