FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Bugs
   Website, Reference, Example Bugs
(Moderator: REAS)
   text(value, x, y, z) fails in version 0068
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: text(value, x, y, z) fails in version 0068  (Read 1064 times)
metaphorz


text(value, x, y, z) fails in version 0068
« on: Oct 17th, 2004, 8:54pm »

There appears to be an issue with using an x,y,z
for text(). For instance:
 
BFont metaBold;  
// The font "Meta-Bold.vlw.gz" must be located in the  
// current sketch's "data" directory to load successfully  
metaBold = loadFont("Meta-Bold.vlw.gz");  
textFont(metaBold, 44);  
text("word", 15, 50, 4);  
 
generates an error, even thought the documentation
suggests that text() can accept an x,y,z location.
Removing the ", 4" works fine.
« Last Edit: Oct 19th, 2004, 4:54pm by metaphorz »  
metaphorz


Here is the Platform
« Reply #1 on: Oct 17th, 2004, 9:27pm »


Processing version 0068
Platform: Windows XP SP2
 
 
metaphorz


seems to work in 0069
« Reply #2 on: Oct 18th, 2004, 2:20am »

This feature (x,y,z) overloading of the
text() method seems to work correctly in
Version 0069, but not 0068.
 
fry

WWW
Re: text(value, x, y, z) fails in version 0068
« Reply #3 on: Oct 19th, 2004, 8:00pm »

that's because it was added in 69.
 
heck, if you go back to rev 0007, fonts might not even exist.
 
metaphorz


Re: text(value, x, y, z) fails in version 0068
« Reply #4 on: Oct 19th, 2004, 9:49pm »


Well, yeah
 
But the problem is basically one of documentation:
the stable release is 0068, and so that is what I
told the students to use. However, the online  
documentation states that text(val,x,y,z) is legal,  
which now brings up the question of what version(s) of
the software are covered by the existing documentation
posted on the web site. I realize that this is messy,
but I wanted to at least surface the issue...
 
fry

WWW
Re: text(value, x, y, z) fails in version 0068
« Reply #5 on: Oct 20th, 2004, 1:40am »

ok fine fine.. it's just more fun to give you a hard time than it is to be sensible about it.  
 
it's mostly my fault since i didn't coordinate with casey on rev 69, it was a caffeine-inspired bug fix sunday afternoon that i didn't have time to go through our usual testing process on it.  
 
the end result is that unless we're gonna make 69 the "stable" release, we should remove the x, y, z version of text() from the docs. (so i'm moving this over to the docs area so that casey can tweak that if he has a chance)
 
Pages: 1 

« Previous topic | Next topic »