Jump to content
We've recently updated our Privacy Statement, available here ×

Problems with HTML markup Text Fields


victorg

Recommended Posts

 Hi all:

 

Since some time ago I´m successfully using Jasper for building reports that must contain some dynamically formatted text. I´m using HTML tags in Text Field values, for bolds, italics, subscripts and superscripts.

 

Obviously the Text Field property Markup is set to HTML.

 

example of some typical text values, particularly useful for chemical notation, for example, are:

 

<i>p</i>CO<sub>2</sub>

Na<sup>+</sup>

Ca<sup>++</sup>

...

 

So, the question is related to the subscripts and superscripts.

 

I expected to get this text half character below or above the baseline respectively, but also in a smaller font size. I always get them in the same size as regular text.

 

Is anything wrong with that?

Is it possible to obtain the sub's and sup's in smaller sizes?

 

Thanks

Victor



Post Edited by victorg at 05/07/2009 18:27



Post Edited by victorg at 05/07/2009 18:29
Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...