{ PJOGL.RETINA = true; } // for now
public void setup() {
// size(640, 480, "processing.core.PGraphicsRetina2D");
// size(640, 480, JAVA2D);
size(640, 480, P2D);
// smooth(4);
textFont(createFont("Courier", 24));
noStroke();
fill(0);
}
public void draw() {
background(180);
for (int x = 0; x < width + 50; x += 50) {
for (int y = 0; y < height - 50; y += 50) {
ellipse(x, y, 40, 40);
}
}
text("Text doesn't look particularly crisp, though", 0, height - 20);
}
A workaround is to create the text at double the size:
textFont(createFont("Courier", 48));
textSize(24);
{ PJOGL.RETINA = true; } // for now public void setup() { // size(640, 480, "processing.core.PGraphicsRetina2D"); // size(640, 480, JAVA2D); size(640, 480, P2D); // smooth(4); textFont(createFont("Courier", 24)); noStroke(); fill(0); } public void draw() { background(180); for (int x = 0; x < width + 50; x += 50) { for (int y = 0; y < height - 50; y += 50) { ellipse(x, y, 40, 40); } } text("Text doesn't look particularly crisp, though", 0, height - 20); }A workaround is to create the text at double the size: