I use iTextSharp on Windows to generate a report, and some of the text in the 
report comes from user-entered fields.  Therefore I have to be able to support 
a wide range of character sets, not just something simple like ASCII or Latin1.

I am using Arial Unicode as my "backup" font in order to feel confident that I 
can render just about anything that someone could type into a text box.  
However, I just discovered that character codes 10 and 13 (the \r\n 
combination that happens when you press Enter in an HTML textarea) do not 
exist in Arial Unicode.  This came as a surprise to me, as they do exist in 
my "primary" font (Verdana).  I am using BaseFont.CharExists() as the way to 
check whether a character exists in a font.

Does anyone know why these would not exist in Arial Unicode?  Interestingly, 
if I ignore the fact that the characters don't exist and just add the text to 
the document with Arial Unicode, it does seem to render with a newline.

Thanks,
Jason



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to