Mark writes: > Hi > > I've got a Problem with the FontFactory class. If I create a new Font with > this code: > > Font font = FontFactory.getFont(FontFactory.COURIER, 12, Font.NORMAL) > > then calling font.family() will return -1 which is Font.UNDEFINED if I'm > not mistaken. > I would just like to know, whether I'm doing something wrong or what I > have to do to get a valid value out of font.family().
I have lost some time on this bug yesterday. BaseFont.createFont was called with encoding == null and a nullPointerException was thrown. Maybe it better to download the complete CVS in a few minutes. kind regards, Bruno _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
