If you license the font you'll get a font from the foundry without embedding restrictions. I don't know why you would want to do that, there are lots of good free fonts with the same characteristics that you can include in a jar and supply to your customers.
Best Regards, Paulo Soares > -----Original Message----- > From: Dan Kristensen [SMTP:[EMAIL PROTECTED] > Sent: Friday, October 03, 2003 11:59 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Embedding a licensed font > > > Hi! > > In a previous post, Paulo Soares answered what could be done for using > licensed font's in pdf.: > > See below.... > > But how can you actually embed a licensed font into a pdf-file, when you > are using iText... > > I've looked in the file TrueTypeFont.java, and can see, that it ALWAYS > throws a DocumentException, when reading a font with the fsType set to 2 > in the WindowsMetrics class. > > Paulo said, that the font could be licensed from Bigelow & Holmes, but HOW > do you then use it in iText ??? > > > > Dan Kristensen > > > > ----- Original Message ----- > From: "Ken AtPdi" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, August 22, 2003 16:09 > Subject: [iText-questions] Fonts > > > > We generate graphs in Java's Graphics2D and use iText to generate PDFs > > for > > display on the Web using the accepted practices shown in the tutorial > > and > > the examples. The fonts that we use for headings, etc. are 2 of the > > 'standard' fonts included with the JDK/JRE - Lucida Sans and Lucida > > Bright. > > > > We have been running in production under iText version 0.93 for the last > > > > year or so. Because of some positioning issues, we upgraded to 1.0, > > tested > > everything in Windows and began testing in preparation for deployment on > > a > > Unix server. We changed none of the font references in the code nor did > > we > > touch the fonts on the machine, but under the new version of iText we > > get > > the following error: > > > > "com.lowagie.text.DocumentException: > > /opt/customer/weblogic/jdk131/jre/lib/fonts/LucidaSansRegular.ttf cannot > > be > > embedded due to licensing restrictions" > > > > In looking back at the archive, a previous posting indicaes that there > > is a > > "...licensing issue...with the font itself...". > > > > Questions: > > 1) Was iText upgraded to check the font's licensing restrictions for > > this > > subsequent to the 0.93 release? > > iText now respects the font licensing flag. > > > 2) These fonts are those included with the JDK/JRE. Where do we go to > > arrange proper licensing, Sun? > > Sun includes those fonts for Java use and obviously doesn't want them used > for anything else. You can: > > - change iText to ignore the restrictions > > - license the fonts from Bigelow & Holmes > > - use other fonts. Probably the PDF built in fonts are more than suitable. > The fonts included in Java are there for the benefit of those platforms > that > don't have decent fonts and for uniformity. They are not that special. > > - use PdfContentByte.createGraphicsShapes() > > Best Regards, > Paulo Soares > > > > > > Thank you > > > > Ken B > > Personnel Decisions International > > > > _________________________________________________________________ > > Help protect your PC: Get a free online virus scan at McAfee.com. > > <http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963> > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: VM Ware > > With VMware you can run multiple operating systems on a single machine. > > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines > > at the same time. Free trial click > > here: <http://www.vmware.com/wl/offer/358/0> > > _______________________________________________ > > iText-questions mailing list > > [EMAIL PROTECTED] > > <https://lists.sourceforge.net/lists/listinfo/itext-questions> > > > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions