artemp/trac2github — Issue #520: Wrong right-to-left rendering if string contains numbers
Author: artemp
Created: 2011-10-09 20:38:43+00:00
State: open
Labels: Core_Library

If the string for a label contains any numbers besides right-to-left text (arabic, farsi, hebrew...) the whole string gets rendered on a character by character basis.
So instead of "نامجو 17" you will get "ن ا م ج و 17". See this example in Mapnik openstreetmap: http://www.openstreetmap.org/?lat=36.27183&lon=59.57726&zoom=17

The weird thing is that the right-to-left text direction stays intact for the letters, but they are not concatenated correctly within the charset.