We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 027d159 commit 8c8a26fCopy full SHA for 8c8a26f
1 file changed
app/src/processing/app/tools/CreateFont.java
@@ -164,11 +164,11 @@ public void paintComponent(Graphics g) {
164
smooth ?
165
RenderingHints.VALUE_TEXT_ANTIALIAS_ON :
166
RenderingHints.VALUE_TEXT_ANTIALIAS_OFF);
167
- // add this one as well
168
-// g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
169
-// smooth ?
170
-// RenderingHints.VALUE_ANTIALIAS_ON :
171
-// RenderingHints.VALUE_ANTIALIAS_OFF);
+ // add this one as well (after 1.0.9)
+ g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
+ smooth ?
+ RenderingHints.VALUE_ANTIALIAS_ON :
+ RenderingHints.VALUE_ANTIALIAS_OFF);
172
super.paintComponent(g2);
173
}
174
};
0 commit comments