Font italic = new Font(av.getFont().getName(), Font.ITALIC,\r
av.getFont().getSize());\r
gg.setFont(italic);\r
- gg.setRenderingHint(RenderingHints.KEY_ANTIALIASING,\r
- RenderingHints.VALUE_ANTIALIAS_ON);\r
+\r
+ if (av.antiAlias)\r
+ gg.setRenderingHint(RenderingHints.KEY_ANTIALIASING,\r
+ RenderingHints.VALUE_ANTIALIAS_ON);\r
\r
Color currentColor = Color.white;\r
Color currentTextColor = Color.black;\r
{\r
Graphics2D gg = (Graphics2D) g;\r
gg.setFont(av.getFont());\r
- gg.setRenderingHint(RenderingHints.KEY_ANTIALIASING,\r
- RenderingHints.VALUE_ANTIALIAS_ON);\r
+\r
+ if(av.antiAlias)\r
+ gg.setRenderingHint(RenderingHints.KEY_ANTIALIASING,\r
+ RenderingHints.VALUE_ANTIALIAS_ON);\r
\r
//Fill in the background\r
gg.setColor(Color.white);\r