Saravanabava, Gugan (IE10) wrote:
<> 1. Where can i find out the list of values for *font *attribute of iText XML especially the value corresponding to arial font ( I couldn't find it in iText DTD )
Look at method public static Font getFont(Properties attributes) in http://itext.sourceforge.net/src/com/lowagie/text/FontFactory.java There you will find the attributes. Before you can use arial, you will have to 'register' the font: http://itext.sourceforge.net/examples/com/lowagie/examples/objects/fonts/UsingFontFactory.java http://itext.sourceforge.net/docs/com/lowagie/text/FontFactory.html#register(java.lang.String)
2. The DTD which is available in sourceforge.net at location http://itext.sourceforge.net/itext.dtd is not matching the sample XML available at http://www.lowagie.com/iText/examples/Chap0701.xml . If the above mentioned iText DTD is not an updated one, where can i find the latest one.
There is no updated DTD. http://article.gmane.org/gmane.comp.java.lib.itext.general/13823 If someone would update it. I would put the new version on the site. br, Bruno
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
