Hello, 

`ProcessChar`
method of FontSelector class, drops Unicode formatting characters.
http://www.fileformat.info/info/unicode/category/Cf/list.htm
For
example I need these 2 chars to process RTL data correctly:
const char
RightToLeftEmbedding = (char)0x202B;
const char
PopDirectionalFormatting = (char)0x202C;
But
`ProcessChar` method only checks the font.BaseFont.CharExists and then drops
that invisible formatting char.
It can be
fixed this way in C#
if(font.BaseFont.CharExists(c) || char.GetUnicodeCategory(c)== 
UnicodeCategory.Format) {
// the
rest
}

Regards
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to