[mapserver-dev] fallback font(s) for labels : pre RFC draft

thomas bonfort thomas.bonfort at gmail.com
Wed May 4 14:43:36 EDT 2011


>
> I also think it would be wise and efficient to allow attribute binding to
> the FONT tag in the label so an individual object can also specify what font
> is required to render it. This might impact the parsing of a font list on
> the FONT tag like:
>
> # single fonts
> FONT "arial"
> FONT [font]
>
> # font lists
> FONT "arabic-eg" "arialuni"
> FONT [font] "arialuni"
>
> Can you have multiple fonts listed inside [font]?
> FONT [font] # multiple fonts listed in attibute.

that would be a nice enhancement to the proposition usability-wise.
the case that isn't trivial here is:
FONT [font] "arialuni" : steve would know if that could be supported
by the parser

FONT [font] # multiple fonts listed in attibute.
isn't straightforward, but can be easily overcome in the attribute
binding stage.

there is also the hybrid case:
FONT [font] "arialuni" where [font] contains multiple fonts.

--
thomas


More information about the mapserver-dev mailing list