Changeset 7386 in josm
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java
r7378 r7386 1240 1240 showIcons = paintSettings.getShowIconsDistance() > circum; 1241 1241 isOutlineOnly = paintSettings.isOutlineOnly(); 1242 orderFont = new Font(Main.pref.get("mappaint.font", " Helvetica"), Font.PLAIN, Main.pref.getInteger("mappaint.fontsize", 8));1242 orderFont = new Font(Main.pref.get("mappaint.font", "Droid Sans"), Font.PLAIN, Main.pref.getInteger("mappaint.fontsize", 8)); 1243 1243 1244 1244 g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, -
trunk/styles/standard/elemstyles.mapcss
r7385 r7386 3590 3590 font-size: 8; 3591 3591 font-weight: bold; 3592 font-family: "Droid Sans";3593 3592 text-color: black; 3594 3593 text-anchor-horizontal: center; … … 3611 3610 text: auto; 3612 3611 } 3613 node|z16- {3612 node|z16-[!is_prop_set("icon-image")] { 3614 3613 symbol-size:1; 3615 3614 symbol-shape: square; 3616 3615 symbol-stroke-color: node_standard#ffff00; 3616 major-z-index: 4.95; /* put node squares above line text */ 3617 3617 } 3618 3618 node|z16-:connection { … … 3650 3650 node|z19,area|z19 { font-size: 9; } 3651 3651 node|z20-,area|z20- { font-size: 10; } 3652 3653 /*******************/ 3654 /* way text labels */ 3655 /*******************/ 3656 3657 way|z17-[highway=residential] { 3658 text: auto; 3659 text-color: black; 3660 font-size: 9; 3661 text-position: line; 3662 text-halo-color: #ffffff; 3663 text-halo-opacity: 1; 3664 text-halo-radius: 1.5; 3665 } 3666 way|z18[highway=residential] { 3667 font-size: 10; 3668 } 3669 way|z19[highway=residential] { 3670 font-size: 11; 3671 } 3672 way|z20-[highway=residential] { 3673 font-size: 12; 3674 } 3652 3675 3653 3676 /**************/ … … 3664 3687 icon-image: "place/settlement/town.png"; 3665 3688 text: auto; 3689 font-size: 10; 3666 3690 } 3667 3691 area[place=continent], … … 3689 3713 icon-image: "place/settlement/capital.png"; 3690 3714 text: auto; 3715 font-size: 10; 3691 3716 } 3692 3717 node|z11-[place=city] { 3693 3718 icon-image: "place/settlement/city.png"; 3694 3719 text: auto; 3720 font-size: 10; 3695 3721 } 3696 3722 node|z11-[place=town], … … 3702 3728 icon-image: "place/settlement/town.png"; 3703 3729 text: auto; 3730 font-size: 10; 3704 3731 } 3705 3732 node|z11-[place=locality] { 3706 3733 icon-image: "place/locality.png"; 3707 3734 text: auto; 3735 font-size: 10; 3708 3736 } 3709 3737 node|z11-[place=island] { 3710 3738 icon-image: "place/island.png"; 3711 3739 text: auto; 3740 font-size: 10; 3712 3741 } 3713 3742 node|z11-[place=islet] { 3714 3743 icon-image: "place/islet.png"; 3715 3744 text: auto; 3745 font-size: 10; 3716 3746 } 3717 3747
Note:
See TracChangeset
for help on using the changeset viewer.