Hi Paulo,

I am using following codes to deal with right to left language and it works
fine:
         BaseFont bf = BaseFont.createFont("c:/windows/fonts/arial.ttf",
                    BaseFont.IDENTITY_H, true);
            Font font = new Font(bf, 14);
            document.add(new Paragraph("Movie title: Nina's Tragedies"));
            document.add(new Paragraph("directed by Savi Gabizon"));
            MultiColumnText mct = new MultiColumnText();
            mct.addSimpleColumn(36, PageSize.A4.getWidth() - 36);
            mct.setRunDirection(PdfWriter.RUN_DIRECTION_RTL);
            mct
                    .addElement(new Paragraph(
                            "\u05d4\u05d0\u05e1\u05d5\u05e0\u05d5\u05ea
\u05e9\u05dc \u05e0\u05d9\u05e0\u05d4",
                            font));
            document.add(mct);
But how can I put multiple texts which have different formats(like bold,
fontsize,color,etc) in one line? Here is an example
of what I need:
      האסונות של נינה(أوروبا, برمجيات الحاسوب + انترنيت :)تسج لّ الآن
لحضور المؤتمر
الدولي العاشر ليونيكود,
Please advice. Thanks.

Best reagrds.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to