Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Gene Taylor   on Jul 31 In Java Category.

  
Question Answered By: Farzaneh Vrm   on Jul 31

You should choose a suitable font like Nazanin. By this you get seprated farsi letters left to right.
Then you should change the writting direction from left to right to right to left.
use "PdfWriter.RUN_DIRECTION_RTL" in your settings.
PdfPCell and ColumnText have a property named runDirection that you should set it to PdfWriter.RUN_DIRECTION_RTL. In this way you can create a farsi pdf.

Share: 

 

This Question has 3 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on problem in creating a pdf in FARSI language with iText Or get search suggestion and latest updates.


Tagged: