jasper-reportsireport

how to put bold for certain word in textfield?


I have for writing essay in the report. I just want to bold some text in my verse. I have put <b></b> tag in text, but it does not work.

An example of what I want is "My first name is Jason and my last name is Michael". Anybody know about this?


Solution

  • Try surrounding the words you want to highlight with HTML <b></b> (bold) tags, and change the markup attribute of textfield to HTML.

    PS: if you have some difficulties seeing Bold, try to set Textfield font to Arial.