Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[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
Assignees
Milestone

Comments

@Andrey-VI
Copy link

It should work like this:

Image and video hosting by TinyPic

@ghost ghost assigned herm Mar 11, 2012
@herm herm closed this as completed in 9b62a19 Mar 19, 2012
@springmeyer
Copy link
Member

@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.

@springmeyer
Copy link
Member

@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 added a commit that referenced this issue Mar 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants