i am trying to create a Persian PDF containing tables and i want to write in it. when my string is long it doesn't fit the cell correctly. feels like String fills the cell upside down!... i mean for example when i want to write "hello my friend . what's up?" in the cell the output is like this:
| what's up? |
| my friend |
| hello |
but of course in Persian (it's Ok in English)
here i attached the code by the way
private LanguageProcessor al = new ArabicLigaturizer();
cell = new PdfPCell(new Phrase(al.process(persian_text), fontNormal));
cell.setHorizontalAlignment(Element.ALIGN_RIGHT);
cell.setVerticalAlignment(Element.ALIGN_TOP);
cell.setBorderWidth(0);
table.addCell(cell);
i would be thankful with your help