Jump to content
Changes to the Jaspersoft community edition download ×

Degree Symbol


someguy51

Recommended Posts

Hi,

 

Is it possible to display the degree symbol in a pdf created from iReports?

 

The following expression works in a textfield:

 

Code:

new String("u00B0")

 

However, if I put a

Code:
[code]"u00B0"
directly into a record and set the expression to $F{degreefield} it simply prints
Code:
[code]"u00B0"

 

Is there any way I can have the degree symbol directly in a record and have it print properly?

 

Thanks

Post edited by: someguy51, at: 2006/08/03 15:24

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Hi,

 

I got it to work. I guess our database doesn't support the degree symbol. That would explain why it wouldn't recognized the degree symbol when the report got it from the database but did recognize it when I entered it directly into a textfield. I got it to work using styled text. I just made sure that that the record contained:

 

Code:
<style isBold='FALSE' pdfFontName='Helvetica'>&#176;</style>
Link to comment
Share on other sites

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...