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 › textMode() v93 --> v98 : Strange Behavior
Page Index Toggle Pages: 1
textMode() v93 --> v98 : Strange Behavior (Read 566 times)
textMode() v93 --> v98 : Strange Behavior
Dec 17th, 2005, 7:40am
 
I had a problem with textMode() when I was updating some code did in v93.
http://labelle.spacekit.ca/P55/RecursiveGrid00i_FontsFix/ (ok)
http://labelle.spacekit.ca/P55/RecursiveGrid00i_FontsFixProblem (Sad)

Everything is OK when I use textMode(MODEL) but with textMode(SCREEN), it slow down very much. I may missed a change issue since v93.

Code:

{ textFont(myFont); textMode(MODEL); textAlign(LEFT); } //Is OK

Code:

{ textFont(myFont); textMode(SCREEN); textAlign(LEFT); } //Doesn't Work as expected
Re: textMode() v93 --> v98 : Strange Behavior
Reply #1 - Dec 19th, 2005, 10:55pm
 
there shouldn't be anything that's changed with regards to text between those versions. can you verify that it's fast in 93 and not in 98?

textMode(SCREEN) has really lousy performance when using the java renderer, but works really nicely with P3D (and P2D when it's ready).
Re: textMode() v93 --> v98 : Strange Behavior
Reply #2 - Dec 20th, 2005, 7:45am
 
I got the same problem with v91 v93. It's ok with the P3D renderer but not with the JAVA2D and OPENGL renderer. Ususally, I'm using P3D, I was on the default (Java2D).

Thx.
Page Index Toggle Pages: 1