You can create a font with no cache and change the character spacing with
BaseFont.setCharAdvance().
To add 0.2 points for each point height:

char c = 'A';
bf.setCharAdvance(c, bf.getWidth(c) + 200);

Best Regards,
Paulo Soares

----- Original Message -----
From: "Peter Kleczka" <[EMAIL PROTECTED]>
To: "Paulo Soares" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Saturday, January 17, 2004 16:31
Subject: Re: [iText-questions] Setting kerning


>
> I have a heading that needs extra spacing between characters.
> I considered placing hard spaces between characters, but of
> course this might add *too much* spacing.  Can I set the
> spacing between characters?
>
> --- Paulo Soares <[EMAIL PROTECTED]> wrote:
> > I don't understand the question. What's the objective?
> >
> > Best Regards,
> > Paulo Soares
> >
> > ----- Original Message -----
> >
> > > Hi
> > >
> > > How do you set kerning? The API doc lists methods for getting kerning,
but
> > > I don't see how to set it?
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
> http://hotjobs.sweepstakes.yahoo.com/signingbonus



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to