Changeset 998 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2008-09-20T22:48:57+02:00 (16 years ago)
Author:
stoecker
Message:

make mappaint font configurable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/MapPaintVisitor.java

    r992 r998  
    326326                circum = Main.map.mapView.getScale()*100*Main.proj.scaleFactor()*40041455; // circumference of the earth in meter
    327327                styles = MapPaintStyles.getStyles();
    328                 orderFont = new Font("Helvetica", Font.PLAIN, Main.pref.getInteger("mappaint.fontsize", 8));
     328                orderFont = new Font(Main.pref.get("mappaint.font","Helvetica"), Font.PLAIN, Main.pref.getInteger("mappaint.fontsize", 8));
    329329
    330330                if(styles.hasAreas())
Note: See TracChangeset for help on using the changeset viewer.