I'm not sure I understand the question. The error has nothing to do with
the font-most characters in the range � to  are not valid in
XML. I suspect you are using the wrong value to represent the character
you're trying to print.

 

Eric Amick   Systems Engineer II

Legislative Computer Systems

 

From: Charanpreet Arora [mailto:[email protected]] 
Sent: Monday, April 05, 2010 14:30
To: [email protected]
Subject: Does FOP 0.95 supports Chinese Fonts?

 

Dear All,

 

I'm getting the following error while trying to generate the PDF file
containing Simplified Chinese Characters (from uming.ttf):

 

java.lang.RuntimeException: Character reference "" is an invalid
XML character.

 

Please note that I have generated the metrics file (uming.xml) for the
same and configured it through fopConfiguration.xml before running xslt
through FOP.

 

Can you please guide me if I'm doing anything wrong or I'll be able to
generate Chinese file at all using FOP 0.95?

 

Thanks & Regards,

Charanpreet Arora

Apple POS Team

 





 

Reply via email to