andrey_nado Posted July 9, 2013 Share Posted July 9, 2013 I have a text element with HTML markup. I know that JasperReport supports very limited subset of HTML tags in such a elements, and "font" tag is supported. Question: is it possible to make size of the font smaller that base size? For example, what markup should be used to display "Smaller text" in reduced font size? The "-1" size does not work as expected, the "1" size makes font larger. <staticText> <reportElement x="0" y="0" width="100" height="100"/> <textElement markup="html"/> <text><![CDATA[ Base Text <font size="-1">Smaller Text</font> ]]></text> </staticText> 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