Op 10/01/2011 12:17, pedram farzaneh schreef:
> I have a HTML code snippet which contains <table> in which the columns
> contain Arabic text.
> after rendering the html snippet by  "HTMLWorker" class the resulting 
> element
> is instance of a PdfPTable which is shown in the pdf file but the text 
> is missed.
>
> I will appreciate any help.
You're experiencing two problems:
1. You're using the wrong font, create a FontProvider as documented in 
chapter 9.
2. HTMLWorker currently doesn't support the R2L writing system and 
Arabic Ligaturization. You'll have to work around this, for instance by 
adding the objects returned by HTMLWorker to a PdfPTable or a ColumnText 
object for which the R2L parameter is set.

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to