Jump to content
Changes to the Jaspersoft community edition download ×

Unicode problem with Omega


2005 IR Help

Recommended Posts

By: Manfred Moser - mosabua

Unicode problem with Omega

2004-05-11 13:55

Hi!

 

I need to display a greek uppercase Omega symbol as the unit Ohm for impedance.

 

To test my unicode I have also inserted the unicode value for the trademark symbol.

 

<textFieldExpression class="java.lang.String"><![CDATA[$P{Impedance}+" Ohms u03A9 u2212"]]></textFieldExpression>

 

The unicode for the trademark symbol works fine when it is part of the impedance parameter but it doesnt work if it is in the concatenated section afterwards.

 

The omega symbol doesn work in either case.

 

The font used is

<reportFont name="Default" isDefault="false" fontName="SansSerif" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1250" isPdfEmbedded="false"/>

 

If I use pdfEncoding="Identity-H" the compiler complains

dori.jasper.engine.JRException: Could not load the following font :

[java] pdfFontName : Helvetica

[java] pdfEncoding : Identity-H

[java] isPdfEmbedded : false

and so on

 

What is it that I am missing?

 

thx

 

manfred

Link to comment
Share on other sites

  • Replies 0
  • 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...