We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
KERNING (Read 674 times)
KERNING
Oct 10th, 2007, 7:35pm
 
Hi,

I am searching for a function to adjust the spacing between the letters - kerning, but until now I was unable to find it.

I would be most grateful for any clue...
Re: KERNING
Reply #1 - Oct 10th, 2007, 8:31pm
 
nah, sorry. no kerning or tracking support.

you could hack it by drawing individual letters, not specifying an x/y coordinate after the first letter, and using translate(). for example:

Code:
text('a', 10, height/2);
translate(10, 0);
text('b');
translate(10, 0);
text('c');
translate(10, 0);
text('d');


...and so on (but in a loop, of course).
Re: KERNING
Reply #2 - Oct 10th, 2007, 9:43pm
 
Thank you...
Page Index Toggle Pages: 1