Re: [iText-questions] fonts in text elements

2006-08-18 Thread Reinout van Schouwen
Hello Bruno, Op Fri, 18 Aug 2006 08:53:05 +0200, schreef bruno: >>Can anyone tell me what I'm doing wrong? > No, because you're not saying what you are doing. I'm sorry if my question wasn't clear enough, I had been staring at it for hours yesterday. > If you do it as described in the tutorial

Re: [iText-questions] fonts in text elements

2006-08-17 Thread bruno
Reinout van Schouwen wrote: >So I thought I'd try to use a Chunk or a Phrase with its own font and add >it to a Paragraph to fix it, but the result is that the font settings of >a Chunk or a Phrase are not taken over. The text is displayed in plain >style. > > >Can anyone tell me what I'm doing wr

[iText-questions] fonts in text elements

2006-08-17 Thread Reinout van Schouwen
Hello all, Sorry if this question has been discussed before, but I didn't see it. I'm trying to use iText to generate a PDF. Sometimes a piece of a sentence needs to be printed in bold face. If I use Paragraphs for this, like so: elementList.add(new Paragraph(nodeValue, new Font(djvuBold))); //