I have searched  the itext api docs, and I should invoke
AcorFields.setSubstitutionFonts(), but the parameter is ArrayList, which
object should be put  into this ArrayList?
Would you  mind to write a case about invoke this method? Thanks in
advanced.


2007/11/29, Paulo Soares <[EMAIL PROTECTED]>:
>
> It wont work if it's a dynamic form. If it's a static form you'll need
> to define a substitution font with the Arabic glyphs in AcroFields.
>
> Paulo
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On
> > Behalf Of Xu ying chu
> > Sent: Tuesday, November 27, 2007 11:39 AM
> > To: [email protected]
> > Subject: [iText-questions] about Arabic text display problem
> > in Pdf Form
> >
> > Hi,
> >    I have a strange problem in display Arabic text in Adobe
> > PDF form. I create a pdf form by lifecycle designer and put a
> > textfield in the form, and I merge data by itext, but when we
> > open it by Adobe Reader, the textfield content is not
> > displayed, and when I click this textfield ,the Arabic text
> > will display. I don't know why it happen, can you help me?
> > the merge data code is :
> >
> > PdfReader reader = new PdfReader(templateName);
> >     PdfStamper stamper = new PdfStamper(reader, out);
> >     AcroFields form1 = stamper.getAcroFields();
> >         org.w3c.dom.Node dataNode = mergeData(templateNode);
> >     form1.mergeXfaData(dataNode);
> >
> >
> >
> > --
> >             Best Regards
> >
> > Ying-chu Xu
> >
> > MSN:[EMAIL PROTECTED]
> >
>
>
> Aviso Legal:
> Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
> informação confidencial ou legalmente protegida. A incorrecta transmissão
> desta mensagem não significa a perca de confidencialidade. Se esta mensagem
> for recebida por engano, por favor envie-a de volta para o remetente e
> apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o
> destinatário de usar, revelar ou distribuir qualquer parte desta mensagem.
>
> Disclaimer:
> This message is destined exclusively to the intended receiver. It may
> contain confidential or legally protected information. The incorrect
> transmission of this message does not mean the loss of its confidentiality.
> If this message is received by mistake, please send it back to the sender
> and delete it from your system immediately. It is forbidden to any person
> who is not the intended receiver to use, distribute or copy any part of this
> message.
>
>
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell.  From the desktop to the data center, Linux is going
> mainstream.  Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> _______________________________________________
> 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

Mobile phone:13466685408
MSN:[EMAIL PROTECTED]
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
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