mapnik/mapnik — Issue #1114: lack of initialization creates undefined values for text_symbolizer_properties
Author: springmeyer
Created: 2012-03-05 20:47:20+00:00
State: open

We need to make sure that values are properly initialized so compilers don't do bad things:

```python
>>> from mapnik import *
>>> m = Map(256,256)
>>> t = TextSymbolizer(Expression('[NAME]'), 'DejaVu Sans Book', 20, Color('black'))
>>> s = Style()
>>> r = Rule()
>>> r.symbols.append(t)
>>> s.rules.append(r)
>>> m.append_style('Style',s)
True
>>> print save_map_to_string(m)

```