Dear itext team, I would like to ask about itext library. I have some problem with parse html(have thai charactor) to pdf. It's invisible. For example, A, B, ก, Z in result It's A, B,,Z. How to set font for it. I code as this below.
Map<String,Object> providers = new HashMap<String, Object>(); DefaultFontProvider dfp = new DefaultFontProvider("angsa.ttf"); HTMLWorker htmlWorker = new HTMLWorker(document); providers.put(HTMLWorker.FONT_PROVIDER, dfp); htmlWorker.setProviders(providers); htmlWorker.parse(new StringReader("<br>test<br>one<br>พพพพพพพ")); Please advise me. I am looking forward to hearing from you. Thank you for your kindly help. Friday.
------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2
_______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. 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