I forward this to the iText mailinglist. There is a lot of demand for a better XML DTD for iText. I think UJAC could be the answer. I'll put a link on my site to yours. I hope you'll get lots of response.
br, Bruno Quoting Christian Lauer <[EMAIL PROTECTED]>: > Hi Bruno, > > thanks for your interest in my little project! > > I'm currently working on the project's web site and have prepared > some examples for the print module there. They will be uploaded > this night. There some more examples shipped with the distribution > files. If you like to check them out. > > You can easyly generate PDF output using the commands: > > export CLASSPATH=lib/ujac.jar:lib/iText.jar > java org.ujac.print.DocumentPrinter <XML template> <output file name> > <properties file name> > > The attribute <properties file name> is optional, if defined, the > DocumentPrinter reads properties from this file to provide dynamic > data during the PDF generation process. This is only for testing, > normally you would pass results of database queries or EJB/JDO query > results to it. > > Best regards, > Christian > > > On Fri, 2004-01-23 at 09:50, Bruno wrote: > > 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 > -- > Christian Lauer <[EMAIL PROTECTED]> ------------------------------------------------------- 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
