Hi,

I have the requirement to generate a PDF, with a field which can have either 
english or arabic (Or Both) text. I am quite new to iText. I am using 
"com.lowagie.text" package to achieve the task. I need to make use of this only 
as there is already lot of code dependent on it. 

To achieve this, i am doing the following:
a) calling setRunDirection(PdfWriter.RUN_DIRECTION_RTL) on the PdfPCell.
b) Also, using Font "ARIALUNI.TTF".

But, the problem i am facing is if have the input as "Testing this text."
I get the text on generated pdf as ".Testing this text"
The character "." in put at the beginning instead of last. This happens with 
character "(" if put it at the last.

Please let me know how to resolve it as the field i am talking about here is an 
input field for user. So, i have no control over what characters user enters to 
the field.

I really appreciate a lot any help from any of you on this front.

Thanks & Regards,
Naveen

--
This message was sent on behalf of [email protected] at 
openSubscriber.com
http://www.opensubscriber.com/messages/[email protected]/topic.html

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to