On 09/23/13 13:49, Larry Evans wrote: > On 09/22/13 07:35, iText mailing list wrote: >> On 9/22/2013 12:58 PM, mkl wrote: >>> Or maybe some old iText version? >> That would explain much. >> > Thanks to all for their help; however, > I just did an `svn update`, and then: > > ~/prog_dev/itext/svn/book/lib $ svn info > Path: . > URL: https://svn.code.sf.net/p/itext/code/book/lib > Repository Root: https://svn.code.sf.net/p/itext/code > Repository UUID: 3a709846-db2a-4fbd-be0b-eb932eee6479 > Revision: 6016 > Node Kind: directory > Schedule: normal > Last Changed Author: blowagie > Last Changed Rev: 5691 > Last Changed Date: 2013-02-12 10:40:32 -0600 (Tue, 12 Feb 2013) > > ~/prog_dev/itext/svn/book/lib $ > > Hence, I've got the latest svn revision. > However, I then ran the code again, but got same(or similar) result > as shown by the attached. > > Please, what am I missing? > > -regards, > Larry > Could the problem be the .jar downloaded from https://svn.code.sf.net/p/itext/code was built on a windows OS and the font files are in a different place than on my ubuntu OS, and that's causing the problem?
The post: http://stackoverflow.com/questions/11366354/itext-whats-going-on-with-font-basefont-and-createfont contains code: BaseFont unicode = BaseFont.createFont("c:/windows/fonts/arialuni.ttf", BaseFont.IDENTITY_H, BaseFont.EMBEDDED); which does seem to indicate the font file locations have been coded in window specific directories. TIA for any suggestions. -regards, Larry ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php