The tutorial is not clear but if you create a Font with a BaseFont and a style bold and/or italic that style will be automatically simulated. You can still use Chunk.setTextRenderMode() and Chunk.setSkew() if you need to further customize the result.
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Bruno Lowagie > Sent: Friday, September 16, 2005 10:43 AM > To: [EMAIL PROTECTED] > Cc: [email protected] > Subject: Re: [iText-questions] Can you style a font when > using BaseFonts for PDFContentByte? > > Gareth Edwards wrote: > > > Whats the trick with the rendition? > > Take a look at the examples here: > http://itextdocs.lowagie.com/tutorial/objects/chunk/#rendering > > You can simulate bold by changing the filling and stroking of > characters. > You can simulate italic by skewing text. > br, > Bruno > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv > or your very > own Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
