FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 870 : Error: Use textFont() before textSize()
Last modified: 2008-08-11 12:07
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
DUPLICATE of bug
726
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
clio
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2008-08-11 10:49
Using unaltered code from website: ch04-milkteacoffee --> figure_06_finalish.
Works sometimes, others (sometimes every other time...) gets error below.
Thanks,
Clio
1. 0144 BETA
2. Windows OS, Dell Computer
3. The code is exactly as it is online.
Here's the "red spew"
java.lang.RuntimeException: Use textFont() before textSize()
at processing.core.PGraphics.textSize(PGraphics.java:2417)
at processing.core.PGraphicsJava2D.textSize(PGraphicsJava2D.java:931)
at processing.core.PApplet.textSize(PApplet.java:7561)
at Temporary_2864_9897.drawTitle(Temporary_2864_9897.java:293)
at Temporary_2864_9897.draw(Temporary_2864_9897.java:282)
at processing.core.PApplet.handleDisplay(PApplet.java:1444)
at processing.core.PGraphics.requestDisplay(PGraphics.java:695)
at processing.core.PApplet.run(PApplet.java:1542)
at java.lang.Thread.run(Thread.java:595)
Additional Comment
#1 From fry 2008-08-11 12:07
*** This bug has been marked as a duplicate of
726
***