It's in my to-do list but right at the bottom. I don't know if it will
ever be implemented at that level. 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Martin Resch
> Sent: Friday, December 03, 2004 7:25 AM
> To: [EMAIL PROTECTED]
> Subject: AW: [iText-questions] BaseFont.setKerning()
> 
> Hello Paolo & Bruno,
> 
>       is the setKerning-feature planned to be integrated in 
> i.e. Chunks,
> Phrases, PdfPCells, ... in one of the next versions of iText?
> 
> 
> Best Regards,
> 
> Martin
> 
> ________________________________
> 
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Im 
> Auftrag von Paulo
> Soares
> Gesendet: Donnerstag, 2. Dezember 2004 22:04
> An: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Betreff: RE: [iText-questions] BaseFont.setKerning()
> 
> 
> Kerning only works in PdfContentByte.
> 
> ________________________________
> 
> From: [EMAIL PROTECTED] on behalf 
> of Martin Resch
> Sent: Thu 02-Dec-04 18:31
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] BaseFont.setKerning()
> 
> 
> 
> Hello everyone,
> 
>         this time I've a problem with BaseFont.setKerning(). 
> Here's the
> code-snip:
> 
>                 PdfWriter writer = PdfWriter.getInstance(document, new
> FileOutputStream("test.pdf"));
>             document.open();
>             PdfContentByte cb = writer.getDirectContent();
>             PdfPTable table = new PdfPTable(1);
>            
>                 Font font = FontFactory.getFont(FontFactory.TIMES,
> BaseFont.WINANSI, true, 20, Font.NORMAL, Color.GREEN);
>             BaseFont bf = font.getBaseFont();
>             bf.setKerning('t', 'e', 30);
>            
>                 Phrase phrase = new Phrase("test", font);
> 
>             PdfPCell cell = new PdfPCell(phrase);
>             cell.setFixedHeight(100f);
>             table.addCell(cell);
>             table.setTotalWidth(300);
>             table.writeSelectedRows(0, 1, 100, 700, cb);
> 
>             document.close();
> 
> In the generated PDF there's no kerning between the 't' and 
> the 'e'. Any
> ideas?
> 
> Thanks for your help!
> 
> 
> Best regards,
> 
> Martin
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from 
> real users.
> Discover which products truly live up to the hype. Start reading now.
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> 
> 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to