artemp/mapnik — Issue #409: Wrong rendering of right-to-left wrapped strings
Author: artemp
Created: 2011-10-11 16:17:11+00:00
State: open
Labels: Core_Library

Right-to-left strings (e.g Arabic, Hebrew), which are wrapped are rendered wrong - the lines are ordered in the opposite order.

For example, if the unwrapped string is

{{{
<--- CCC BBBBB AAA <---

}}}
(AAA being the 1st word, as we're reading from right to left),

When wrapped it renders like this:

{{{
CCC
BBBBB
AAA

}}}

While it should look like:

{{{
AAA
BBBBB
CCC

}}}

P.S

I'd love to help and fix this problem - I just need someone to give me some pointers toward the right direction...