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 1059 times)
Kerning ?
May 19th, 2010, 5:24am
 
Can we do kerning in p5 ?


i dont find it.

if not , is there a library that lets us do this ?


Thanx !!!



Smiley
Re: Kerning ?
Reply #1 - May 19th, 2010, 5:54am
 
Can you be more precise in your question? I suppose you mean kerning of fonts, but indicating what is your exact need might bring better answers.

That's not a syntax question, BTW, although it is hard to classify... Smiley
Re: Kerning ?
Reply #2 - May 19th, 2010, 8:42am
 
oops sorry , i though kerning was only a specific font thing. my fault.


yes i mean kerning fonts.


I always love a nice kerning.


...


Wink


so any library that does this ?
Re: Kerning ?
Reply #3 - May 19th, 2010, 10:01am
 
Well, I was dumb (and non-native English speaker... Tongue), apparently kerning applies only to fonts, indeed.
But I asked for a use case.
Basically, you want to display text with kerning enabled, right?

Indeed, if I try something like:
Code:
void setup()
{
size(500, 200);
PFont font = createFont("Times New Roman", 72);
textFont(font);
text("AV TA' Wa", 10, 60);
text("AA TT. WV", 10, 120);
}
it doesn't look very nice.

Some people asked the same question for Java.
I see that it is possible since Java 1.6.
There were workarounds for previous versions.

Apparently, injecting that in Processing will be hard, unless rewriting the text-related functions...
Page Index Toggle Pages: 1