You want a drop cap. It can be made by getting the dimensions of the first letter with BaseFont.getWidthPoint() and BaseFont.getFontDescriptor() and then setting an irregular ColumnText around the letter. I'll try to have an example next week.
Best Regards, Paulo Soares > -----Original Message----- > From: Michael Glauche [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, June 18, 2003 12:39 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Hanging Indent ? > > Hi, > is it possible to create a "hanging indent" paragraph start with > itext ? (i.e. using ColumnText). > > The problem i have that the first character should automaticly split > over n lines, one way of building it seems to be a table. > > It should look like this: (with the "S" being 3 lines high) > > S ee the quick > brown fox > jumps over > the lazy dog > > Another idea would be to put the "S" on the 3rd line and keep the > leading strickt to the basic font set, the font size would be n times > the leading. Is it possible to get the width of a character to calculate > the leading ? > > Any simpler ideas how to solve that ? > > TIA, > Michael Glauche > -- > Michael Glauche, Dipl. Inform. Connection GmbH > [EMAIL PROTECTED] http://www.connection-net.de/ > pgp key: http://www.connection-net.de/~mglauche/mglauche.asc > > "The surest sign that intelligent life exists elsewhere in > the universe is that it has never tried to contact us." -- Calvin & Hobbes > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
