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

Bug 319815

Summary: Default font sized changed
Product: z_Archived Reporter: Juergen Schwarz <juergen.schwarz>
Component: BIRTAssignee: Jianchao Li <jianchao.li>
Status: REOPENED --- QA Contact: Xiaoying Gu <bluesoldier>
Severity: normal    
Priority: P3 CC: arunpjohny, bluesoldier, jianchao.li, jorge.salazar-duran, wenfeng.fwd, wyan
Version: 2.6.0   
Target Milestone: Future   
Hardware: All   
OS: All   
Whiteboard:

Description Juergen Schwarz CLA 2010-07-14 04:40:41 EDT
Im BIRT 2.3, the default size for medium sized fonts was 9pt.
In BIRT 2.6.0 it is 12pt (as seen in org.eclipse.birt.report.engine.css.engine.BIRTCSSEngine.getMediumFontSize()).

As this affects all reports (texts doesn't fit anymore etc.), it should be considered to reduce the size back to 9pt.
Comment 1 Jianchao Li CLA 2010-07-14 05:54:13 EDT
We have changed the default medium font size into 12pt since BIRT2.6.0 to make sure it shows well in prevalent environment. There exists complex relationships between the absolute size and the relative size, and it depends on many factors such as OS, web browser, dpi and so on. For more details, please refer the following link:
http://style.cleverchimp.com/font_size_intervals/altintervals.html

So that I think you need to modify your report designs to make them work well.
Comment 2 Juergen Schwarz CLA 2010-07-14 06:27:30 EDT
I cannot expect from our customers to edit dozens of already existing reports. Our customers expect that after a BIRT update their reports work as before.
It's much easier for me to edit the source code and change the size back to 9pt and to have our customers to use the changed version.
Comment 3 Wenfeng Li CLA 2010-08-23 12:46:54 EDT
reopen to consider a solution to maintain font-size for older version of report design.

possible solution is to have a engine setting of absolute font size for medim, larte, and small.
Comment 4 Xiaoying Gu CLA 2012-06-20 22:51:34 EDT
*** Bug 322103 has been marked as a duplicate of this bug. ***