PFont rockwell; PFont FuturaOblique; int x = 25; void setup() { size(400, 150); background(255); // importer la/les police(s) du dossier 'Data' rockwell = loadFont("Rockwell-Bold.vlw"); FuturaOblique = loadFont("FuturaOblique.vlw"); } void draw() { } void keyPressed() { if (key == 'a') { textFont(rockwell, 30); fill(200,30,0,50); text("Hello everybody !", x, 60); } if (key == 'z') { textFont(FuturaOblique, 48); fill(0,0,255,128); text("Good bye folks !", x+10, 80); } if (key == 'e') { textFont(rockwell, 48); fill(255,150,0); text("Hello again !", x+15, 90); } }