Hello,
I have got some problem with my typography, first when i load my font (in police generator) , I can’t have mort than 50pt for the size and so when I want to write it bigger with textSize() the rendering is blurred, pixelated. Is it possible to do otherwise?
And I got another problem
I would like my text to be just visible by an outline using stroke(255); noFill(); but it doesn’t work at all ?!
(The goal of my project would be to have the same word (thank you) with just different typography each time.)
If by chance you will be able to solve my problems I will be very grateful to you, I’m just starting and I feel like I don’t understand anything at all
ArrayList<PFont> fonts = new ArrayList<PFont>();
int randomPosition = 0;
void setup() {
size(displayWidth, displayHeight);
background(0);
stroke(255);
noFill();
fonts.add(loadFont("Futura-ExtraBold-48.vlw"));
fonts.add(loadFont("Futura-Light-48.vlw"));
fonts.add(loadFont("Futura-Bold-48.vlw"));
fonts.add(loadFont("Futura-Book-48.vlw"));
fonts.add(loadFont("Futura-CondensedExtraBold-50.vlw"));
fonts.add(loadFont("Futura-Heavy-48.vlw"));
fonts.add(loadFont("Futura-Medium-48.vlw"));
}
void draw() {
background(0);
stroke(255);
noFill();
textFont(fonts.get(randomPosition), 200);
// textSize(300);
text("merci", displayWidth/2, displayHeight/2, 0);
textAlign(CENTER);
}
void mousePressed() {
randomPosition = floor(random(0, fonts.size()));
}