----- 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: 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
