[Adium-devl] Improving BiDi support
Ofri
ofri.wolfus at gmail.com
Thu Sep 4 23:44:52 UTC 2008
On 05/09/2008, at 01:51, mm w wrote:
> Hi all,
> It's true but it's not quite simple, a couple months ago, I wrote a
> rpc-like systeme to support BiDi
> one of major problem is when one client is set-up RTL and the other
> client LTR
That's exactly the point of this discussion. Our algorithm doesn't
care about the other side and formats the message based only on its
content.
> for an example, if your client is set up in LTR and you are receiving
> a message RTL formatted, I guess you are expecting that the message
> "floats" right, and another message LTR formatted "floats" left...
I guess what you're talking about here is the message style, which
like any other GUI can be either LTR, RTL or neutral. Luckily users
are free to create their own styles with whatever direction they wish
(though it would be nice to have a default universal style with both
LTR and RTL variants).
> I also remember there were problems/issues with NSTextView and BiDi
> support in Panther,
> I really don't know if it has been fixed.
There were lots of issues with BiDi text in Panther. Most of them,
including this one were fixed in 10.4/10.5.
>
>
> anyway if you want some helps on it let me know
>
> On Wed, Sep 3, 2008 at 11:36 PM, Andreas Monitzer <am at adiumx.com>
> wrote:
>> On Sep 04, 2008, at 01:03, Ofri wrote:
>>
>>> AFAIK, the only protocol aware of directionality is MSN, which has
>>> an
>>> RTL flag that marks messages as RTL (Adium currently sends RTL
>>> messages with this flag but ignores it for incoming messages).
>>
>> That's not entirely true -- xhtml has support for it:
>>
>> http://www.w3.org/International/questions/qa-bidi-css-markup
>>
>> which means that you can send the information via XMPP, as long as
>> the
>> receiving client is able to use the formatted version of the message.
>>
>> However, I guess Adium doesn't support that yet (and I also guess
>> that
>> no other XMPP client does).
>>
>> andy
>>
>>
>> _______________________________________________
>> Adium-devl mailing list
>> Adium-devl at adiumx.com
>> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com
>>
>
>
>
> --
> -mmw
>
> _______________________________________________
> Adium-devl mailing list
> Adium-devl at adiumx.com
> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com
More information about the devel
mailing list