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.
IndexProgramming Questions & HelpSyntax Questions › pfont - cannot be found
Page Index Toggle Pages: 1
pfont - cannot be found (Read 384 times)
pfont - cannot be found
Jan 5th, 2009, 1:26am
 
Hi,
iam trying to use pfont. But everytime i try to run my sketch the line

pfont font;

creates an error message:
"cannot find a class or type named "pfont" "

What am i doing wrong?
Re: pfont - cannot be found
Reply #1 - Jan 5th, 2009, 4:36am
 
should be "PFont"
Re: pfont - cannot be found
Reply #2 - Jan 5th, 2009, 10:26am
 
imiacc wrote on Jan 5th, 2009, 1:26am:
Hi,
iam trying to use pfont. But everytime i try to run my sketch the line

pfont font;

creates an error message:
"cannot find a class or type named "pfont" "

What am i doing wrong


Liquid is correct; Java/Processing is case sensitive and if you are new to programming or English is not your first language this can be confusing.
Page Index Toggle Pages: 1