textFont() required?
in
Core Library Questions
•
2 years ago
Hi All,
Ive been working all day with no problems, but suddenly I am getting errors about having to call textFont() before any text(). Im fine adding it, but when I do I get another series of errors about using a library that is not compatible with this version of processing:
Exception in thread "Animation Thread" java.lang.NoSuchMethodError:
processing.core.PImage.getCache(Lprocessing/core/PGraphics;)Ljava/lang/Object;
at processing.opengl.PGraphicsOpenGL.bindTexture(PGraphicsOpenGL.java:821)
at codeanticode.glgraphics.GLGraphics.renderTriangles(Unknown Source)
at processing.core.PGraphics3D.endShape(PGraphics3D.java:633)
at processing.core.PGraphics.endShape(PGraphics.java:1153)
at processing.core.PGraphics.imageImpl(PGraphics.java:2293)
at processing.core.PGraphics.image(PGraphics.java:2182)
at processing.core.PApplet.image(PApplet.java:7280)
at C12$Tweet.drawTweet(C12.java:777)
at C12$TwitterStreamThread.moveDown(C12.java:907)
at C12$TwitterStreamThread.newTweet(C12.java:892)
at C12$TwitterStreamThread.getTimeline(C12.java:855)
at C12$TwitterStreamThread.<init>(C12.java:840)
at C12.setup(C12.java:105)
at processing.core.PApplet.handleDraw(PApplet.java:1402)
at processing.core.PApplet.run(PApplet.java:1327)
at java.lang.Thread.run(Thread.java:680)
From what I can tell, this error is thrown when I try to draw a PGraphics to stage with image(). is there some issue with using fonts in PGraphic buffers? is there a way around this?
Thanks!
ak
1