Ignore:
Timestamp:
2014-08-13T16:42:17+02:00 (10 years ago)
Author:
bastiK
Message:

applied #10301 - extend display of maxspeed nodes (patch by Klumbumbus)
Include Droid Sans font in the JOSM binary distribution.
This unifies the font rendering on different platforms and allows geometric constructions with text (as demonstrated for maxspeed). Both regular and bold style are available.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/LineTextElemStyle.java

    r7083 r7383  
    1818        this.text = text;
    1919    }
    20     public static LineTextElemStyle create(Environment env) {
    21         Cascade c = env.mc.getCascade(env.layer);
     20    public static LineTextElemStyle create(final Environment env) {
     21        final Cascade c = env.mc.getCascade(env.layer);
    2222
    2323        Keyword textPos = c.get(TEXT_POSITION, null, Keyword.class);
     
    2525            return null;
    2626
    27         TextElement text = TextElement.create(c, PaintColors.TEXT.get(), false);
     27        TextElement text = TextElement.create(env, PaintColors.TEXT.get(), false);
    2828        if (text == null)
    2929            return null;
Note: See TracChangeset for help on using the changeset viewer.