On Mon, 2007-03-12 at 10:14 +0100, Gianluca DAlessandro wrote: > i tried to convert html files to pdf, but entities &#xxx which have > xxx value up to 255 are not visualized in pdf file. I've also a > problem with images. In html text containing images and text, if > images dimension is up to 100 X 100 pixels, text cover the image. > There are solutions to this two problems?
iText support for converting HTML to PDF is still rough. Bruno and Paulo have been working on it here and there when they have time, but you fixing iText yourself is the most likely way to guarantee a fix in the near future. As far as entities, what do you mean by "not visualized"? Are they showing up raw or completely disappearing? I tested the following using the latest CVS iText and all entities were rendered correctly. Perhaps this is an encoding issue? What encoding are you using. <table> <tr> <td>&</td> <td>ampersand</td> <td>&</td> <td>&</td> </tr> <tr> <td>¡</td> <td>inverted exclamation mark</td> <td>¡</td> <td>¡</td> </tr> <tr> <td>©</td> <td>copyright</td> <td>©</td> <td>©</td> </tr> <tr> <td>Ç</td> <td>capital c, cedilla</td> <td>Ç</td> <td>Ç</td> </tr> <tr> <td>á</td> <td>small a, acute accent</td> <td>á</td> <td>á</td> </tr> <tr> <td>€</td> <td>euro</td> <td>€</td> <td>€</td> </tr> </table> -- Stuart Jansen <[EMAIL PROTECTED]> Guru Labs, L.C.
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/