Home
Analytics
Font size issue while upgrading to BIRT 2.6
Arun P Johny
Hi all,
I'm trying to upgrade my BIRT version to BIRT 2.6 from BIRT 2.5.1.
The upgrade was smooth but as I verified some reports I found some issues with the font sizes. In my reports I'm using font size as small/medium/large in some places, this is causing an unexpected problem for me. In BIRT 2.5.1 the font sizes used by small/medium/large are 7.5/9/11 respectively, but BIRT 2.6 is showing the contents in different font sizes. It is show the contents in font size 10/12/14.5 respectively.
I'm attaching a sample design file and the outputs I got by running the files using Eclipse Galileo and Eclipse Helios. I'm using PDF preview from eclipse to recreate the issue.
Can any one suggest a way to resolve this issue?
Thank You,
Arun P Johny
Find more posts tagged with
Comments
Arun P Johny
Since I'm unable to resolve the problem now I'm planning to use fixed font-size values like 7.5/9/11 instead of the relative values like small/medium/large.
Can anybody suggest me some other option?
mwilliams
Hi Arun,
Sorry for the delay. I was looking into this for you, but just hadn't responded yet. There is a bug report already out for this.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=319815
. It was deemed invalid. I would suggest creating a new bug report for this issue and ask for a better workaround to tie into the old settings. To change this in the designer, you'd have to go into the code and change it then rebuild BIRT. Something you could do for the time being would be to create a CSS style sheet or something to redefine the table-detail, table-header, etc. formats to override the small, medium, and large so you don't have to go around and change every file. If this doesn't work for you, it looks like setting the font sizes to numerical values is going to be your best way unless you want to dive into the code to change the default settings of small, medium, and large.
Please log a bug for a better workaround at
http://www.birt-exchange.org/org/resources/bug-reporting/
. Thanks!
Arun P Johny
As you suggested I've posted a new <a class='bbc_url' href='
https://bugs.eclipse.org/bugs/show_bug.cgi?id=322103'>Bug</a>
;
mwilliams
Thanks! Could you post the bug info in here for future reference and for others who might have this same issue to be able to access it an comment?
Arun P Johny
<blockquote class='ipsBlockquote' data-author="'mwilliams'" data-cid="67162" data-time="1281361299" data-date="09 August 2010 - 06:41 AM"><p>
Thanks! Could you post the bug info in here for future reference and for others who might have this same issue to be able to access it an comment?<br /></p></blockquote>
<br />
Please find the bug here: <a class='bbc_url' href='
https://bugs.eclipse.org/bugs/show_bug.cgi?id=322103'>https://bugs.eclipse.org/bugs/show_bug.cgi?id=322103</a>
;
mwilliams
Thank you!