[#7051] - <font size=2> is not smaller than default font.

Category:
Bug report
Priority:
Normal
Status:
New
Project: Severity:
Minor
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

I have some HTML like this I want to display in the report:

<font size=1>very small</font><br>
<font size=2>small</font><br>
normal<br>
<font size=4>large</font><br>
<font size=5>very large</font><br>
<font size=6>the largest</font>

This displays nice in any browser and shows different font sizes. Now, in Jasper Reports the font size=2 seems to be the "normal" font size. When I explicitely add <font size=3> in the third line, this gets printed bigger.

I believe you see these values as absolute values, but according to HTML these are relative values in regard to the "standard" font size. I believe, the font I define for a control should be considered the standard font, and should always relate to font size=3, and the other numbers should be threated relative to it.

This is even more important since I want to display the HTML in different contexts, having different base fonts and font sizes. Please fix this (maybe allow me to define a property that I can set to alter the interpretation behavior of these font sizes so existing applications wont break).

Or is there another way to specify relative sizing in Jasper?

v5.6
dmigowski's picture
Joined: Apr 16 2007 - 5:44am
Last seen: 6 years 1 month ago
Feedback
randomness