Alan,
Well this worked for me when doing CJK characters:
    get the ascii number
    convert it to hexadecimel
    prepend it with a \u
 
Hope that helps
Seth
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Alan
Sent: Friday, December 09, 2005 4:48 PM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] How to get Unicode ref from Font character index

Hi,

I have an application that returns a Font object and a Character Index integer for point symbols.

 

I have worked out how to do all that is needed to write this to PDF except for how to get the Unicode value.

 

For example, I can use the windows charmap.exe to tell that CharacterIndex 67 is "\u005e" but I can't figure out how to do this programmatically.

 

Can someone give me a clue or two, please?

Cheers

AlanK

==============================================================================
Please access the attached hyperlink for an important electronic communications disclaimer:

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==============================================================================

Reply via email to