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 & HelpIntegration › geomerative & eclipse
Page Index Toggle Pages: 1
geomerative & eclipse (Read 672 times)
geomerative & eclipse
Feb 14th, 2008, 4:08pm
 
Hi there,

does anyone of you has managed to run the quite fantastic library geomerative from www.ricardmarxer.com in eclipse? I always get a bug loading a font…
-
thanks for your help

Re: geomerative & eclipse
Reply #1 - Feb 14th, 2008, 8:36pm
 
It works for me with following sketch:

Code:

package geom;

import processing.core.*;
import geomerative.*;

public class Geom extends PApplet {


RFont rf;

public void setup() {
size(500, 500);
rf = new RFont(this, "dali.ttf");
fill(0);
stroke(255);
}

public void draw() {
translate(250,250);
rf.draw("test",g);
}
}


and this data structure:

-src
|_data
|  |_dali.ttf
|_package geom
   |_Geom.class
Page Index Toggle Pages: 1