[wishlist] New multi-line text alignment (justify-alignment="auto") when using placement finder algorithm #1125

Closed
Andrey-VI opened this Issue Mar 11, 2012 · 2 comments

Comments

Projects
None yet
3 participants

It should work like this:

Image and video hosting by TinyPic

herm was assigned Mar 11, 2012

herm closed this in 9b62a19 Mar 19, 2012

Owner

springmeyer commented Mar 19, 2012

@herm - great stuff. This would be nice as a CHANGELOG entry, so keep that in mind with future new features/parameters. And if you could add this that would be great. Master changelog is way behind, but I've been working on updating the 2.0.1 changelog.

Owner

springmeyer commented Mar 19, 2012

@herm - also, new failing test:


======================================================================
FAIL: python_tests.object_test.test_shieldsymbolizer_init
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/nose-1.1.2-py2.7.egg/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/Users/dane/projects/mapnik/tests/python_tests/object_test.py", line 57, in test_shieldsymbolizer_init
    eq_(s.justify_alignment, mapnik.justify_alignment.MIDDLE)
  File "/Library/Python/2.7/site-packages/nose-1.1.2-py2.7.egg/nose/tools.py", line 31, in eq_
    assert a == b, msg or "%r != %r" % (a, b)
AssertionError: mapnik._mapnik.justify_alignment.AUTO != mapnik._mapnik.justify_alignment.MIDDLE

@herm herm added a commit that referenced this issue Mar 19, 2012

@herm herm Update tests.
Refs #1125.
a84fcdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment