Changeset 992 in josm


Ignore:
Timestamp:
2008-09-19T08:58:08+02:00 (16 years ago)
Author:
stoecker
Message:

added mappaint fontsize. closes bug #1577

File:
1 edited

Legend:

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

    r990 r992  
    4646        protected int currentWidth = 0;
    4747        protected Stroke currentStroke = null;
    48         protected static final Font orderFont = new Font("Helvetica", Font.PLAIN, 8);
     48        protected Font orderFont;
    4949        protected ElemStyles styles;
    5050        protected double circum;
     
    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));
    328329
    329330                if(styles.hasAreas())
Note: See TracChangeset for help on using the changeset viewer.