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 › textAlign(CENTER) problem with native fonts
Page Index Toggle Pages: 1
textAlign(CENTER) problem with native fonts (Read 507 times)
textAlign(CENTER) problem with native fonts
Dec 7th, 2006, 1:48am
 
Hi there I am having to use the trick:

hint(ENABLE_NATIVE_FONTS);

To get native fonts. Unfortunatly the command:

textAlign(CENTER);

Does not seem to work in this mode. Short of continuously calculating the centre of a text field can anyone think of a solution?
Re: textAlign(CENTER) problem with native fonts
Reply #1 - Dec 7th, 2006, 4:10am
 
the CENTER thing sounds like a bug. someone else has reported it, but there hasn't been any followup:
http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1164387854
Page Index Toggle Pages: 1