someguy51 Posted August 3, 2006 Share Posted August 3, 2006 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? ThanksPost edited by: someguy51, at: 2006/08/03 15:24 Link to comment Share on other sites More sharing options...
someguy51 Posted August 4, 2006 Author Share Posted August 4, 2006 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'>°</style> 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