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 wrong?
>
No, because you're not saying what you are doing.
If you do it as described in the tutorial:
http://itextdocs.lowagie.com/tutorial/objects/
http://itextdocs.lowagie.com/examples/com/lowagie/examples/objects/DifferentFonts.java
You can combine multiple fonts in one paragraph:
http://itextdocs.lowagie.com/tutorial/objects/differentfonts.pdf
(Note that for instance Helvetica and Helvetica-Bold are
two different fonts. They belong to the same family, but they
are not the same font.)
br,
Bruno

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to