Right to Left bug |
Post Reply |
Author | |
Spyder
Newbie Joined: 17 November 2004 Location: Australia Status: Offline Points: 29 |
Post Options
Thanks(0)
Posted: 24 March 2005 at 12:23am |
When running on a system that has the RTL language pack installed, english text with brackets appears incorrectly.
This may just be a weird side effect of BiDi systems, since it also happens in the form caption; but this may also be caused by the way CodeJock appears to recommend enabling RTL support via Windows APIs. I have attached a copy of the ScribbleMultiLang example, with a few strings hard-coded to english. Load the sample, then select "Arabic" from the language menu. On a regular Windows system, everything appears fine. But install the language pack, and the problem appears. 2005-03-24_001054_ScribbleMultiLang.zip To install the language pack (requires the windows CD): On WinXP: Control panel -> regional and language options -> languages tab Under "Supplemental language support", ticking either checkbox will show the problem. On Win2K: Control panel -> regional options -> general tab In the list of languages select Arabic. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Can you attach screenshot what problem do you see?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Spyder
Newbie Joined: 17 November 2004 Location: Australia Status: Offline Points: 29 |
Post Options
Thanks(0)
|
Sorry, I should have thought of that :)
Here's what I see: |
|
Spyder
Newbie Joined: 17 November 2004 Location: Australia Status: Offline Points: 29 |
Post Options
Thanks(0)
|
I ended up fixing this one by adding an RTM character (unicode character 200f) before the first "(" which seems to fix the problem. It leaves the combobox with a "?" character in it on english systems, but works fine on a full arabic windows.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
I think it is bug of english systems. Check Caption of bitmap you attached - it has same problem. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Spyder
Newbie Joined: 17 November 2004 Location: Australia Status: Offline Points: 29 |
Post Options
Thanks(0)
|
The only "bug" is in how the windows RTL engine handles brackets in relation to english text in an RTL string. Luckily windows reacts properly to the LRM and RLM characters so I was able to work around the issue.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |