RE: [iText-questions] Fonts Cursive and Fantasy

2006-01-12 Thread Paulo Soares
Embed the font. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Julio Luiz Vedovatto Neto > Sent: Thursday, January 12, 2006 5:07 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Fonts Cursive an

Re: [iText-questions] Fonts Cursive and Fantasy

2006-01-12 Thread Bruno Lowagie
Julio Luiz Vedovatto Neto wrote: My code: BaseFont font = BaseFont.createFont("/home/julio/Primer.ttf",BaseFont.CP1252,BaseFont.NOT_EMBEDDED); Font fonte = new Font(font, cb.getFonte_size(), Font.NORMAL); the primer font is a test font ok? This code should work - if the file Primer.ttf is pr

[iText-questions] Fonts Cursive and Fantasy

2006-01-12 Thread Julio Luiz Vedovatto Neto
Hi pplSorry for the other mail (about table size and doc size).But i have new problemI need to generate the pdf document in 5 different fonts:Generic Names- Sans-serif- Serif- Monospace- Cursive- FantasyWell, i find in the itext font times new roman (equals serif), courier (equals monospace) and he