Ticket #189 (assigned defect)
Text wrapping is wrong for RTL languages
| Reported by: | tomh | Owned by: | artem |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.8.0 |
| Component: | Core Library | Version: | 0.5.1 |
| Severity: | Normal | Keywords: | |
| Cc: | a.dapper.dan.man@… | Patch Needs Improvement: | no |
| Needs Docmentation: | no | Has Patch?: | no |
| Design Decision Needed: | no |
Description
This was originally raised on the OSM trac (http://trac.openstreetmap.org/ticket/1515) and an example of the problem can be seen at http://www.openstreetmap.org/?lat=31.42411&lon=34.33985&zoom=16&layers=B000FTF.
When a label such as "مخيّم دير البلح" which is written in a right-to-left language like Arabic is rendered and has to be split across multiple lines the line splitting is done as if it was a left-to-right language.
So in this case it puts "البلح" on the first line and "مخيّم دير" on the second, but the first word of that name is actually "مخيّم" as this is an RTL language, so it is that which should be on the first line, and the rest of the text on the second line.
