[MapServer-dev] Global Font Scaling
Seth G
sethg at geographika.co.uk
Sat Sep 20 00:43:02 PDT 2025
Hi Scott,
I'm not sure if I fully understand the requirement. Do you have an example LABEL block?
There are several options for LABEL SIZE - https://mapserver.org/mapfile/label.html#mapfile-label-size
"When scaling is in effect (SYMBOLSCALEDENOM is specified for the LAYER), SIZE gives the size of the font to be used at the map scale 1:SYMBOLSCALEDENOM"
You can also use an attribute or expression to calculate the size.
Seth
--
web:https://geographika.net & https://mapserverstudio.net
mastodon: @geographika at mastodon.social
On Thu, Sep 18, 2025, at 1:21 AM, Scott via MapServer-dev wrote:
> Simple question, maybe not a simple answer. ;)
>
> Does some sort of text scaling variable exist that allows you to
> globally change font size?
>
> Say all your LABEL fonts have fixed SIZE and you want to reduce the font
> size by SCALE 0.8
>
> Does nything like that exist?
>
> TIA,
> Scott
> _______________________________________________
> MapServer-dev mailing list
> MapServer-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-dev
More information about the MapServer-dev
mailing list