ByteArrayOutputStream out = new ByteArrayOutputStream();
  Document document = new Document(PageSize.A4, 50, 50, 50, 50);
Font   fontText   =   new   Font(FontFactory.getFont(FontFactory.HELVETICA
));
Paragraph contentPar = new Paragraph(content,fontText);

I think maybe "HELVETICA" is not right. maybe should set encoding and font,
but i don't know how to do .
On 12/7/07, Bruno Lowagie <[EMAIL PROTECTED]> wrote:
>
> Xu ying chu wrote:
> > Hi All,
> >    I generate a pdf document by java application, the document can
> > display english letters fine, but can't display Arabic letters.
>
> Which font are you using.
> Do you have the settings right.
>
> > I don't
> > know whether the itextasia.jar can support Arablic, and which font and
> > encoding is right?
>
> You have at least consulted the tutorial have you?
> There's also some examples in the book:
> The following PDF was generated with iText:
>
> http://itext.ugent.be/itext-in-action/examples/chapter09/results/say_peace.pdf
> It has Arabic and Hebrew text.
>
> You may not be familiar with search engines, but try Google
> and I'm 99% sure the first hit will be a tutorial page:
> http://www.google.com/search?q=iText+Arabic
> br,
> Bruno
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/
>
>
>


-- 
            Best Regards

Ying-chu Xu

MSN:[EMAIL PROTECTED]
Skype:radondo2000
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to