|
@@ -88,7 +88,7 @@ public class CaptchaUtil {
|
|
|
BufferedImage bi = new BufferedImage(width, height,
|
|
BufferedImage bi = new BufferedImage(width, height,
|
|
|
BufferedImage.TYPE_INT_RGB);
|
|
BufferedImage.TYPE_INT_RGB);
|
|
|
Graphics2D g = bi.createGraphics();
|
|
Graphics2D g = bi.createGraphics();
|
|
|
- g.setFont(new Font(Font.SANS_SERIF, Font.ROMAN_BASELINE, 18));
|
|
|
|
|
|
|
+ g.setFont(new Font(Font.SANS_SERIF, Font.PLAIN, 18));
|
|
|
g.setColor(color);
|
|
g.setColor(color);
|
|
|
g.fillRect(0, 0, width, height);
|
|
g.fillRect(0, 0, width, height);
|
|
|
g.setColor(reverse);
|
|
g.setColor(reverse);
|