Community
Participate
Working Groups
Build Identifier: 20110615-0604 After upgrade from Helios/Birt 2.6 to Indigo/Birt 3.7 all our existing reports look different. The line-height is much smaller. So we guess that the default value has been changed or is missing. We can reproduce the problem either in the Viewer and using the Report Engine. HTML output on the other hand looks good. http://linog.t-provider.de/screen_bug_BIRT.png Reproducible: Always Steps to Reproduce: 1. create new report 2. add text box with a few lines of text 3. generate the PDF report 4. compare output of Birt2.6 vs. Birt 3.7
Created attachment 198815 [details] Example Report
Created attachment 198816 [details] Screenshot BIRT 2.6 vs. BIRT 3.7
Same problem here after upgrading from 2.6.2 to 3.7 (on a Windows and a Mac machine). Are there any new insights or known workarounds?
The algorithm of line-height is changed in 3.7.0. After this change, line-height in pdf is similar with its in browser for TrueType font. For generic font, line-height is different since different concrete font may be selected. event in browser, IE may be different with FireFox. 1. If the user need output exactly same layout in PDF/HTML, they should use TrueTypeFont. 2. If the user need size optimize for PDF, they can use generic font. The layout is correct for PDF as the pagination uses PDF setting. 3. If the user need use the type 1 font but still want to keep the HTML layout same with PDF, they can define the line height.
*** Bug 352942 has been marked as a duplicate of this bug. ***
Reopen.
fixed
(In reply to comment #7) > fixed I don't understand the resolution. Will the PDF output in 3.7.1 be like in 2.6.2 again or like in 3.7.0? This is quite important for those BIRT users with existing PDF output reports (read: almost all users). If BIRT 3.7.0 breaks existing reports, all those reports have to be changed manually. And we have to know in advance if explicitly setting the line height is a temporary workaround for 3.7.0 only or if it will be necessary for all future versions.
(In reply to comment #8) > (In reply to comment #7) > > fixed > I don't understand the resolution. > Will the PDF output in 3.7.1 be like in 2.6.2 again or like in 3.7.0? > This is quite important for those BIRT users with existing PDF output reports > (read: almost all users). > If BIRT 3.7.0 breaks existing reports, all those reports have to be changed > manually. > And we have to know in advance if explicitly setting the line height is a > temporary workaround for 3.7.0 only or if it will be necessary for all future > versions. Today I tested with birt-report-designer-all-in-one-3_7_1-S20110913.zip. The output looks the same as with 2.6.2 again (fine!). The lines are no longer set as dense as with 3.7.0. So it seems to me that the bug is fixed indeed and that the future(*) default behavior is like it has been with BIRT 2.6.2. (*) from BIRT 3.7.1 onward.