Changeset 998 in josm


Ignore:
Timestamp:
Sep 20, 2008 10:48:57 PM (5 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.