Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
tatsuva
About Me:
I'm living in Japan and was born in 1968. Robotics engineer, Suzuka National College of Technology.
tatsuva's Profile
1
Posts
3
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
Bug: illeagal pixel is dotted when space character is displayed by using text() in PGraphics
[6 Replies]
27-Jun-2012 04:58 AM
Forum:
General Discussion
Let you try attached sample sketch. Single pixel black dots are plotted upper side of text-line.
size(640, 400);
String _FONTNAME = "FFScala";
PGraphics pg = createGraphics(640, 480, P3D);
PFont font = createFont("FFScala", 18, false);
pg.beginDraw();
pg.textFont(font);
pg.textMode(SCREEN);
pg.textSize(18);
pg.textAlign(LEFT, TOP);
pg.endDraw();
pg.beginDraw();
pg.text("Look upward of this line. There are many single pixel dots.", 100, 100);
pg.endDraw();
blend(pg, 0, 0, 640, 480, 0, 0, 640, 480, BLEND);
«Prev
Next »
Moderate user : tatsuva
Forum