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
greek symbol (Read 980 times)
greek symbol
Nov 8th, 2006, 10:02pm
 
hello,
I don't know how i can write a greek symbol.
Is there a solution ?

thank's

jimmy
Re: greek symbol
Reply #1 - Nov 9th, 2006, 12:23am
 
Code:
PFont f;

void setup() {
f = loadFont("ArialMT-16.vlw");
}

void draw() {
textFont(f,16);
text("\u03A8\u03B5\u03C3!", 10, 20);
}

, provided the font has Greek characters:
http://www.unicode.org/charts/PDF/U0370.pdf

/Rick
Re: greek symbol
Reply #2 - Nov 9th, 2006, 1:35pm
 
Thank you very much !
Page Index Toggle Pages: 1