To view this content, you need to install Java from java.com

Source code: text

Built with Processing


No. 6
typography
by paul glennon 2005


You have to go to 'Tools' and then 'create font' to generate a
font in Processing.

I did this and a data file was created - I did not need to transfer the
data file for the web. It seemed to do this on its own.

//typography by paul glennon

size(300,200);
background(0);

PFont font; //selecting the font in processing
font = loadFont("Haettenschweiler-48.vlw"); // actual font

int x = 40; //replacing the x value to keep it aligned

textFont(font,60); // size
fill(255,0,0); //font colour
text("typography",x,80); //("actual words in here",x,y)

textFont(font,30); // size
fill(255,255,0);
text("is now working!",x,150);//Tools and 'create font' then into data file