Op 5/01/2011 8:53, Nattapong Suwannatrai schreef:
htmlworker.Parse(sr); ßCan Not Display In Thai Language when pulled data from gridview to write down pdf.
Not sure what you mean by gridview, but if you want to use a different font than Helvetica in HtmlWorker, you need to define a FontProvider as explained on page 310 of the Second Edition of iText in Action. You also have to make sure the HTML is read using the proper encoding.

I think the default front of iTextsharp is HELVETICA. It can support Thai language.

The default font is Helvetica and it doesn't support Thai.

Can I add defined font in  "htmlparser.Parse(sr)" ?

You need to define a FontProvider as documented in the book.

You also need to SUBSCRIBE to the mailing list if you want to post/receive further questions and answers.
Further questions that are kept on hold will be DELETED.
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
iText-questions mailing list
[email protected]
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