home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Feature Requests
Adding support for Right-to-left languages (Hebrew, Arabic...)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="velis" data-source="post: 1106811" data-attributes="member: 96429"><p>Sorry I couldn't write the sample in C#, seems Python was too different <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p><p></p><p>IMHO, the errors in rendering are because:</p><p>1. It seems whitespace is not the only thing that should be processed differently: symbols should too (0x00 - 0x2f, 0x3a - 0x3f, 0x5b - 0x5f, 0x7b - 0x7f)</p><p>2. The "<space>2" is a problem because you don't take into account that the locale is RTL. The spaces <strong>around</strong> reversed direction script section should be rendered as part of original script direction. Only the spaces within reversed script section should render as part of that section direction. Darn, this sounds complicated but it's not.</p></blockquote><p></p>
[QUOTE="velis, post: 1106811, member: 96429"] Sorry I couldn't write the sample in C#, seems Python was too different :( IMHO, the errors in rendering are because: 1. It seems whitespace is not the only thing that should be processed differently: symbols should too (0x00 - 0x2f, 0x3a - 0x3f, 0x5b - 0x5f, 0x7b - 0x7f) 2. The "<space>2" is a problem because you don't take into account that the locale is RTL. The spaces [B]around[/B] reversed direction script section should be rendered as part of original script direction. Only the spaces within reversed script section should render as part of that section direction. Darn, this sounds complicated but it's not. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Feature Requests
Adding support for Right-to-left languages (Hebrew, Arabic...)
Contact us
RSS
Top
Bottom