You can put the font in a byte array and use the other constructor for BaseFont.createFont().
Best Regards, Paulo Soares ----- Original Message ----- From: "Bendik R.Johansen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 29, 2002 21:20 Subject: [iText-questions] getting a font from a db > Does anyone know if it's possible to get a font from a database (e.g. > PostgreSQL or MySQL). > I want to store the whole font, not just a reference to the file. > So, i need an alternative to: > BaseFont bf = BaseFont.createFont(fontObj, BaseFont.WINANSI, > BaseFont.EMBEDDED); > > where fontObj is an object read from the database. > > Bendik R. Johansen > [EMAIL PROTECTED] > > > > ------------------------------------------------------- > 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 > ------------------------------------------------------- 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
