A small working example would be great. I don't understand what your problem is, you don't say what parameters you used.
Best Regards, Paulo Soares > -----Original Message----- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, April 10, 2002 17:19 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Trouble with Base Font in code > > Hello, > > I'm using the constructor > Font(int,int,int,Color), instead of Font(BaseFont, int, int, Color) > because i found it simple and whereas BaseFont constructor was quite hard. > > But i havec anew problem now: when I make a table.writeSelectedRows with > this Font > my debogueur sends: > > writeCells on PDFPRow > go() on ColumnText > go(boolean simulate) on ColumnText > writeLineToContent(...) on PDFDocument > setFontAndSize(BaseFont bf, float size) on PdfContentByte > add(BaseFont bf) on PdfWriter > which is a pdf.addFont(ret.getFontName(), ret.getIndirectReference()); > > AND > ret.Indirectreference is 2 0 R > ret.fontname is /F1 > > JUST BEFORE > i add bf.FontName full > > Sorry to bother you with a so deep code trouble.. > Any help; idea?? > > > > > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions