From 0a79f68e47984e1d52a44808ce75061f031318c2 Mon Sep 17 00:00:00 2001 From: herm Date: Sat, 28 Jul 2012 12:15:48 -0700 Subject: [PATCH] TextSymbolizer changes. --- API-changes-between-v2.0-and-v2.1.md | 39 +++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/API-changes-between-v2.0-and-v2.1.md b/API-changes-between-v2.0-and-v2.1.md index 9abda99..04d5321 100644 --- a/API-changes-between-v2.0-and-v2.1.md +++ b/API-changes-between-v2.0-and-v2.1.md @@ -1,7 +1,44 @@ ## Deprecated * `TextSymbolizer` - most attributes moved to either `format` or `placements` properties - * TODO - doc all these out + + `properties`: + * label-placement + * horizontal-alignment + * justify-alignment + * vertical-alignment + * orientation + * displacement + * label-spacing + * label-position-tolerance + * avoid-edges + * minimum-distance + * minimum-padding + * minimum-path-length + * maximum-angle-char-delta + * force-odd-labels + * allow-overlap + * largest-bbox-only + * text-ratio + * wrap-width + + `format`: + * face_name + * fontset + * text-size + * character-spacing + * line-spacing + * text-opacity + * wrap-char + * wrap-before + * text-transform + * fill + * halo-fill + * halo-radius + + Backward compatibility is preserved by python wrappers, however a warning message is printed if the old name is used. + + * `RasterSymbolizer` * `mode` is deprecated, now use `comp-op` which supports [many more compositing modes](https://github.com/mapnik/mapnik/blob/master/include/mapnik/image_compositing.hpp#L42-79) * `scaling=fast` is deprecated. It has always been a synonym for `near`, use `near` going forward