ATSUI-enhanced text in message window, too?

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
Pazu
Harmless
Posts: 4
Joined: Thu Feb 24, 2005 4:09 pm

ATSUI-enhanced text in message window, too?

Post by Pazu »

I have noticed that the message window input area applies nice ATSUI-enhanced formatting to the text, such as optimal letter spacing and automatic hyphen-to-quote conversion. However, these enhancements are not applied to the actual message text.

Is there a way to change this, or must Adium be changed?
User avatar
zaudragon
Growl Team
Posts: 1852
Joined: Sat Dec 04, 2004 5:05 am
Location: Kensington, CA, USA
Contact:

Post by zaudragon »

It's that chatting doesn't support that stuff.
Blog | X(tras)
Communists code without classes.
User avatar
Catfish_Man
Cocoaforge Admin
Posts: 1203
Joined: Thu Dec 02, 2004 6:30 am
Location: Portland, Oregon
Contact:

Post by Catfish_Man »

zaudragon wrote:It's that chatting doesn't support that stuff.
Actually my guess is that it's a limitation of webkit. If you look in Safari in the debug menu (google for how to turn that on) there are some ATSU related options.
User avatar
dchoby98
Adium Team
Posts: 479
Joined: Thu Dec 02, 2004 6:17 am
Location: Canada, Eh?
Contact:

Post by dchoby98 »

However, it is also true that many serivces don't support many fancy text features.
Pazu
Harmless
Posts: 4
Joined: Thu Feb 24, 2005 4:09 pm

Post by Pazu »

zaudragon wrote:It's that chatting doesn't support that stuff.
It has nothing to do with chatting. Such text-transformation happens purely on the (Adium) client side.

So, if I type: That's terrific!

In the input area ATSUI converts the foot mark to an apostrophe and the fi to the fi ligature.

There’s no reason it couldn’t also display that way in the chat display area as well, even if what’s being sent is as originally typed.
User avatar
bgannin
Growl Team
Posts: 1817
Joined: Thu Dec 02, 2004 8:11 am
Location: ..here
Contact:

Post by bgannin »

There's an absolutely valid reason you ignored: WebKit, what draws the messages, doesn't support ATSUI perfectly yet, thus Apple leaves it off by default.
Try my software!

#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
Pazu
Harmless
Posts: 4
Joined: Thu Feb 24, 2005 4:09 pm

Post by Pazu »

bgannin wrote:There's an absolutely valid reason you ignored: WebKit, what draws the messages, doesn't support ATSUI perfectly yet, thus Apple leaves it off by default.
Ah, okay. So the input area is a regular Cocoa widget, with ATSUI applied. However, the message display area is WebKit, with ATSUI disabled. Is that correct?

Is there a way to enable it for testing purposes?
User avatar
bgannin
Growl Team
Posts: 1817
Joined: Thu Dec 02, 2004 8:11 am
Location: ..here
Contact:

Post by bgannin »

Pazu wrote:
bgannin wrote:There's an absolutely valid reason you ignored: WebKit, what draws the messages, doesn't support ATSUI perfectly yet, thus Apple leaves it off by default.
Ah, okay. So the input area is a regular Cocoa widget, with ATSUI applied. However, the message display area is WebKit, with ATSUI disabled. Is that correct?

Is there a way to enable it for testing purposes?
Enable Safari's Debug menu and enable there... I don't know if it applies to all of WebKit or only Safari though.
Try my software!

#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
Pazu
Harmless
Posts: 4
Joined: Thu Feb 24, 2005 4:09 pm

Post by Pazu »

bgannin wrote:Enable Safari's Debug menu and enable there... I don't know if it applies to all of WebKit or only Safari though.
When enabled, it did make a difference how a test paragraph was displayed…in and only in Safari. The kerning was greatly improved and the automatic fi ligature substituted, but the foot-mark remained unconverted to an apostrophe.

Also, this setting had no effect on Adium, so it may be that each WebKit caller gets its’ own ATSU setting.

I suspect there may be some settings on each text widget that specify what ATSU transformations may be applied. If Adium’s input field uses a default, unmodified Cocoa input field, then perhaps Apple has set those to use all available options by default.

Obviously, in Safari, they have set the content area to use certain transformations. I imagine these properties are set whether ATSU is enabled or not, though naturally they only come into effect once it’s enabled.

If that’s the case, maybe setting Adium’s display area to use all available transformations when available will work. (That is, unless we need to figure out how to turn on ATSU for Adium’s WebKit area.)
User avatar
evands
Cocoaforge Admin
Posts: 3152
Joined: Thu Dec 02, 2004 10:55 pm
Location: Decatur, GA
Contact:

Post by evands »

My guess, with no actual evidence to substantiate it, is this may be on by default for webkit in Tiger. It's probably off by default in Panther because it's not ready for prime time or is otherwise relatively untested. Just a guess though.

If you can find out how to turn it on outside Safari, let us know :)
The duck still burns.
--
My company: Saltatory Software. Check it out :)
IngmarStein
Latté
Posts: 63
Joined: Fri Dec 03, 2004 5:35 pm

Post by IngmarStein »

evands wrote:this may be on by default for webkit in Tiger.
That doesn't seem to be the case :(
User avatar
The_Tick
Cocoaforge Admin
Posts: 4642
Joined: Thu Dec 02, 2004 6:06 am
Contact:

Post by The_Tick »

I've enabled atsu in safari to see what the big deal is...


umm..

what does this do again? I'm not seeing a difference.
User avatar
Catfish_Man
Cocoaforge Admin
Posts: 1203
Joined: Thu Dec 02, 2004 6:30 am
Location: Portland, Oregon
Contact:

Post by Catfish_Man »

The_Tick wrote:I've enabled atsu in safari to see what the big deal is...


umm..

what does this do again? I'm not seeing a difference.
Text rendering is a rather subtle thing. Using ATSU tweaks the spacing between letters some, and allows for some ligatures. Nothing the average user would ever notice, but it helps readability a bit.
User avatar
The_Tick
Cocoaforge Admin
Posts: 4642
Joined: Thu Dec 02, 2004 6:06 am
Contact:

Post by The_Tick »

Catfish_Man wrote:
The_Tick wrote:I've enabled atsu in safari to see what the big deal is...


umm..

what does this do again? I'm not seeing a difference.
Text rendering is a rather subtle thing. Using ATSU tweaks the spacing between letters some, and allows for some ligatures. Nothing the average user would ever notice, but it helps readability a bit.

So basically there's little point to it for most people? ;)
User avatar
zaudragon
Growl Team
Posts: 1852
Joined: Sat Dec 04, 2004 5:05 am
Location: Kensington, CA, USA
Contact:

Post by zaudragon »

http://www.macosxhints.com is really affected by ATSU

I can't read the

Code: Select all

 bits
Blog | X(tras)
Communists code without classes.
Post Reply