discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: glyph generation errors in the layout manager


From: Eric Wasylishen
Subject: Re: glyph generation errors in the layout manager
Date: Fri, 22 Jul 2011 12:58:16 -0600

On 2011-07-22, at 12:43 PM, Riccardo Mottola wrote:

> Eric,
> 
> I need to check better on SWK, but there it works. It was one of the things 
> Fred and I (well, mostly him...) fixed during the hacking weekend.

Ah, you're right, it should work, I didn't notice the new code in 
NSLayoutManager to handle this.

> Fred, tell us! What is going wrong? Should it work as it is?

> Riccardo
> 
> Eric Wasylishen wrote:
>> 
>>> I still do wonder why the links are not blue and underlined however.
>> 
>> Right now I think they'll only be blue and underlined if you set those 
>> attributes by hand.
>> 
>> What we need is for NSLinkAttributeName to imply all of the attributes in 
>> -[NSTextView linkTextAttributes] (blue and underlined) as well as 
>> NSToolTipAttributeName (with the URL as the string) if -[NSTextView 
>> displaysLinkToolTips] is YES. I'm not sure what the best way to do that is.
>> 
>> It will probably involve using temporary attributes for the 'extra' 
>> attributes implied by NSLinkAttributeName, but I'm not sure where we should 
>> set/unset these.
>> 
>> Eric
>> _______________________________________________
>> Discuss-gnustep mailing list
>> Discuss-gnustep@gnu.org
>> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]