| Summary: | PDF Output line-height default value (normal) within text blocks is to small | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | David Ebers <info> | ||||||
| Component: | BIRT | Assignee: | Birt-ReportEngine-inbox <Birt-ReportEngine-inbox> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Xiaoying Gu <bluesoldier> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | bluesoldier, h.vonbargen, hustlg, info, s.miguelgomes, stefan-wagner | ||||||
| Version: | 3.7.0 | ||||||||
| Target Milestone: | 3.7.1 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
David Ebers
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. |