- Timestamp:
- 2015-11-11T22:42:10+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java
r8994 r9002 1446 1446 g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, antialiasing); 1447 1447 1448 Object textAntialiasing; 1449 switch (Main.pref.get("mappaint.text-antialiasing", "default")) { 1450 case "on": 1451 textAntialiasing = RenderingHints.VALUE_TEXT_ANTIALIAS_ON; 1452 break; 1453 case "off": 1454 textAntialiasing = RenderingHints.VALUE_TEXT_ANTIALIAS_OFF; 1455 break; 1456 case "gasp": 1457 textAntialiasing = RenderingHints.VALUE_TEXT_ANTIALIAS_GASP; 1458 break; 1459 case "lcd-hrgb": 1460 textAntialiasing = RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_HRGB; 1461 break; 1462 case "lcd-hbgr": 1463 textAntialiasing = RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_HBGR; 1464 break; 1465 case "lcd-vrgb": 1466 textAntialiasing = RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_VRGB; 1467 break; 1468 case "lcd-vbgr": 1469 textAntialiasing = RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_VBGR; 1470 break; 1471 default: 1472 textAntialiasing = RenderingHints.VALUE_TEXT_ANTIALIAS_DEFAULT; 1473 } 1474 g.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, textAntialiasing); 1475 1448 1476 highlightLineWidth = Main.pref.getInteger("mappaint.highlight.width", 4); 1449 1477 highlightPointRadius = Main.pref.getInteger("mappaint.highlight.radius", 7);
Note:
See TracChangeset
for help on using the changeset viewer.