Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ General
➜ Right-to-left option for world
Right-to-left option for world
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Virgoir
(10 posts) Bio
|
Date
| Sat 14 Jan 2012 09:43 AM (UTC) Amended on Sat 14 Jan 2012 09:55 AM (UTC) by Virgoir
|
Message
| Hi Nick,
I want to write a client for my server (Custom Smaug with UTF8 language support), but I think that if you can add a option to your program (MushClient), it's better for me and other users that want to work with RTL languages.
This option just show everything in Right-to-Left view.
Is it possible?
if you need more information I can explain more it for you.
Thanks in advanced
Sadegh | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #1 on Sat 14 Jan 2012 07:02 PM (UTC) |
Message
| The output window has a custom drawing routine. I suppose it is possible, basically I would start drawing on the right, and move left.
How about the input (command) window? Does that come out the right way around for you? (right to left). |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Virgoir
(10 posts) Bio
|
Date
| Reply #2 on Sun 15 Jan 2012 11:52 AM (UTC) |
Message
|
Just please according to it the Right-to-Left Texts have difference with Right Aligned Texts. I means direction of text not alignment.
The command window not need to change the direction, just I think that the command window not support the Unicode I must check it and I will inform you.
Thanks in advanced | Top |
|
Posted by
| Virgoir
(10 posts) Bio
|
Date
| Reply #3 on Sat 31 Mar 2012 09:45 PM (UTC) |
Message
| Hi Nick,
what about Right-to-Left support in MUSHClient?
Putty (Open source) is a nice program that support full unicode encoding and each line that have unicode char shows in Right-to-Left direction.
It's very good for me but I need more of a telnet/ssh terminal program for my mud game.
Thanks
Virgoir | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #4 on Sat 31 Mar 2012 10:07 PM (UTC) |
Message
| It would take a substantial amount of work. Apart from the issue of displaying the text (that might not be too bad) there is also the issue of selecting it (ie. click ... drag) where currently it works out the character under the cursor by starting at the left and counting up. Now you would start at the right and count down. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Fiendish
USA (2,536 posts) Bio
Global Moderator |
Date
| Reply #5 on Sun 01 Apr 2012 12:22 AM (UTC) |
Message
|
Nick Gammon said: Apart from the issue of displaying the text (that might not be too bad) there is also the issue of selecting it (ie. click ... drag) where currently it works out the character under the cursor by starting at the left and counting up. Now you would start at the right and count down.
That sort of change sounds somewhat trivial, like a multiplier that is either 1 or -1. |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Worstje
Netherlands (899 posts) Bio
|
Date
| Reply #6 on Sun 15 Apr 2012 12:26 AM (UTC) |
Message
| Eh, UTF-8 and RTL scripts are generally not a matter of simple characters. Very often they are combinations of several code points (think latin e versus latin e grave), so simply counting bytes wouldn't work anymore.
When you combine it with stuff like colourcodes, text selection and ANSI processing, it becomes quite a hairy beast where it is easy to introduce a new error. Sadly MUSHclient was never written with all of this stuff in mind, so it is all but trivial for Nick to implement. (Then again, he already said most of this.)
Even more interesting is that Unicode supports changing the reading direction inline, so one line can contain RTL and LTR. On a MUSHclient level, you'd also want to consider how LTR and RTL appear when you are to alternate them per line.
Impossible? No. But to simply get drawing plain RTL scripts right already takes rocket science. MU* and Telnet semantics, nevermind proper scripting support.. those will make it hell to implement, because once a little support goes in, people will expect full support. 'Scenario mixed text' doesn't work would otherwise become an often-heard complaint. Ergo.. it takes careful planning and understanding of the subject.
(Yes, two weeks old topic. I don't care. I wanted to put stuff in perspective a little since the complexity didn't seem to come across to at least Fiendish.) | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
21,403 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top