[OSM-dev] osmarender: trying to reduce font size of places

Nick Whitelegg nick at hogweed.org
Sat Sep 16 11:29:16 BST 2006


Trying to prepare an osmarender map of the New Forest, but having difficulty 
with the font size of railway stations, towns and villages. No matter what 
you set the font size as, it seems to be stuck at font size 14 ish, even if 
it should be smaller e.g.

     .railway-station-caption {
        fill: black;
        stroke: white;
        stroke-width: 0.2;
        font-family: verdana;
        font-size: 4;
        }

Changing the font size has no effect.

The map is of the bounding box -1.8,50,7,-1.4,51.0 and I have adjusted the 
scale to 0.1. 

Any ideas what I'm doing wrong here?

Thanks,
Nick




More information about the dev mailing list