astonishingly grainy fonts?
in
Programming Questions
•
1 year ago
I covet the silky-smooth look of the font examples given, for instance,
here. But my attempts to replicate that have failed. Here's the code:
- String s1 = "Swifty.\u221e";
- PFont font;
- void setup() {
- size(800,200);
- font = loadFont("Helvetica-32.vlw");
- textFont(font);
- }
- void draw() {
- fill(0);
- text(s1, 10, 40);
- }
I've used the Tools => Create Font... menu to create Helvetica-32.vlw in my data directory. I've tried including smooth(); in the setup() function, but it doesn't seem to make much difference: the displayed text is very grainy.
As I said: am I missing something fundamental?
P.S.: Processing 1.5.1, running on MacBook Pro with Mac OS X v 10.6.8.
1