[EMAIL PROTECTED] wrote: > > Just wanted to say thanks for the example... > > I tried it out and got an error when creating the BaseFont. I am using > 2.1.0 of iText and noticed that in the web docs and even in the book, > there is no mention of > > BaseFont bf = BaseFont.createFont(); > > Is this new functionality in a newer version of iText? > > If I try it in version 2.1.0, I get the following error: > > cannot find symbol ---> method createFont()
See http://www.1t3xt.com/about/history.php?branch=history.21&node=211 Search for "Added a createFont() method to BaseFont (convenient for examples; always the standard Type 1 font Helvetica, but the method still throws Exceptions to make sure people catch the exceptions once they use other fonts)." -- This answer is provided by 1T3XT BVBA ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar
