Here's some simple code for kerning and a couple of ligatures. As it is usual in this cases I found a couple of bugs and I included the corrected files. This means that a recompilation of iText is needed.
The code is at http://www.geocities.com/itextpdf/kern_lig.zip Best Regards, Paulo Soares > -----Original Message----- > From: Paulo Soares [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, August 01, 2002 10:31 > To: 'John Hardy'; [EMAIL PROTECTED] > Subject: RE: [iText-questions] Support for kerning in iText > > Kerning is not difficult to implement but it's impossible with the current > structure of PdfChunk. I'm creating a special ColumnText that will support > arabics bidi, kerning and ligatures. It will not be ready before October. > You can have kerning now with little effort if all you need is to place > text > at absolute positions. I'll try to have a simple example prepared today so > that you can start from there. > > Best Regards, > Paulo Soares > > > -----Original Message----- > > From: John Hardy [SMTP:[EMAIL PROTECTED]] > > Sent: Thursday, August 01, 2002 3:48 > > To: [EMAIL PROTECTED] > > Subject: [iText-questions] Support for kerning in iText > > > > Bruno and Paulo, I was wondering what your plans for supporting kerning > in > > iText. > > > > I noticed that the code for loading kern tables exists in the PDF font > > classes and that there's a public getKerning() method for querying > > character > > pairs. The really disappointing thing is that none of this code appears > > right now to be used by anything. This is a pity and seems to be a major > > shortcoming when it coming to using iText for more high quality > > typesetting > > applications. > > > > Is kerning support likely to be implemented some time soon? Or > > alternatively, do you have any working code that uses them that I could > > have > > a look at? Perhaps I might be able to help in finishing it. > > > > regards > > > > ...john > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
