Quoting jones henry <[EMAIL PROTECTED]>: > It seems it is not taking the "font" attribute. It always puts font="unknown".
See http://itext.sourceforge.net/src/com/lowagie/text/FontFactory.java more in specific the method: public static Font getFont(Properties attributes) As you can see, you have to use MarkupTags.CSS_FONTFAMILY to enter the font family, so instead of "font", you need "font-family". By the way, I noticed a (new?) SF project that uses iText for XML to PDF conversion: http://ujac.sourceforge.net/ Did anybody use it yet? I didn't try it out yet, but I looked at the tag-documentation and it looked quite good. Maybe it could replace the iText XML jar in the future? br, Bruno ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
