From 5c630b373f43e45ed4805eea7f156f219811a30c Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Fri, 14 Nov 2014 16:36:00 +0000 Subject: [PATCH] Improve legibility of shop names. Increase the size of the text to make it readable, and increase the halo to remove aliasing artefacts. The touch of translucency reduces the attention-grabbing white above darker backgrounds like buildings. Other pois should get the same treatment, but we really need a test-suite to handle the text-dy issue. --- amenity-points.mss | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/amenity-points.mss b/amenity-points.mss index fbbf361742..f400a21785 100644 --- a/amenity-points.mss +++ b/amenity-points.mss @@ -1386,11 +1386,12 @@ [feature = 'shop_other']{ [zoom >= 17] { text-name: "[name]"; - text-size: 8; - text-dy: 10; + text-size: 10; + text-dy: 12; text-fill: #939; text-face-name: @book-fonts; - text-halo-radius: 1; + text-halo-radius: 1.5; + text-halo-fill: rgba(255, 255, 255, 0.8); text-wrap-width: @standard-wrap-width; text-placement: interior; } @@ -1400,11 +1401,12 @@ [feature = 'shop_department_store'] { [zoom >= 16] { text-name: "[name]"; - text-size: 9; - text-dy: 11; + text-size: 10; + text-dy: 12; text-fill: #939; text-face-name: @book-fonts; - text-halo-radius: 1; + text-halo-radius: 1.5; + text-halo-fill: rgba(255, 255, 255, 0.8); text-wrap-width: @standard-wrap-width; text-placement: interior; }