tgutgu Posted August 4, 2006 Share Posted August 4, 2006 Hi, I have a problem with font sizes. I have defined a style with Arial 10 and assigned this to some report elements. In design view, the report font and size appears correct. However, when running the report in the preview panel the elements appear in a very tiny font size, much smaller than at design time. Any idea what the reason is ? Kind regards Thomas GüldenMunich, Germany Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted August 4, 2006 Share Posted August 4, 2006 Can you post your jrxml? Link to comment Share on other sites More sharing options...
tgutgu Posted August 7, 2006 Author Share Posted August 7, 2006 Hi Guilio It seems that the issue was because there were still report fonts existing in the report template and associated with the report element. After blanking the report font in the dialog, the display is as expected. Still, I think that assigning a style to a report element does not transfer all font attributes of the style, as I mentioned in another thread. (As I try it now, it appears that changing the style via drag'n drop or by using the drop down box has no effect). Personally, I think that styles should override report fonts, because the latter are deprecated. Also there should be a possibility to eliminate report styles from a template and to propose to convert them to styles. Styles are a very welcome feature to provide report appearance consistency across reports and among team members. Kind regards Thomas GüldenMunich, Germany [file name=sub_AllgemeineStammdaten.jrxml size=47518]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/sub_AllgemeineStammdaten.jrxml[/file] Link to comment Share on other sites More sharing options...
tgutgu Posted August 7, 2006 Author Share Posted August 7, 2006 Hi Guilio It seems that the issue was because there were still report fonts existing in the report template and associated with the report element. After blanking the report font in the dialog, the display is as expected. Still, I think that assigning a style to a report element does not transfer all font attributes of the style, as I mentioned in another thread. (As I try it now, it appears that changing the style via drag'n drop or by using the drop down box has no effect). Personally, I think that styles should override report fonts, because the latter are deprecated. Also there should be a possibility to eliminate report styles from a template and to propose to convert them to styles. Styles are a very welcome feature to provide report appearance consistency across reports and among team members. Kind regards Thomas GüldenMunich, Germany [file name=sub_AllgemeineStammdaten-0c26185eb9ef2ff93f166646ea169695.jrxml size=47518]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/sub_AllgemeineStammdaten-0c26185eb9ef2ff93f166646ea169695.jrxml[/file] Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted August 7, 2006 Share Posted August 7, 2006 Hi Thomas, thanks for your suggestions. Giulio Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now