• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSShadow changes on 10.5.2?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSShadow changes on 10.5.2?


  • Subject: Re: NSShadow changes on 10.5.2?
  • From: João Pavão <email@hidden>
  • Date: Fri, 15 Feb 2008 13:59:07 +0000

So, what SDK are you using when building your apps? I remember seeing a whole new lot of issues the moment I started building my apps using the 10.5 SDK. Is it possible that an app being linked to the 10.4 libraries made the behavior of NSShadow on 10.5.{0,1} consistent with that of 10.4.x?

Either that, or I'm going crazy. :) Because before 10.5.2, if I didn't offset the shadows by an additional 1pt when running on Leopard, then I would end up with very faint traces of a shadow, while on Tiger they were being displayed beautifully.
--
João Pavão




On 2008/02/15, at 13:43, Jim Correia wrote:

On Feb 15, 2008, at 5:48 AM, Uli Kusterer wrote:

On 15.02.2008, at 11:36, João Pavão wrote:
I had the impression that there was an NSShadow bug only on 10.5.0 thru 10.5.1. My shadows looked great on 10.4.x, and I had to add a check to draw them with an extra 1pt offset on leopard to account for that bug. This made them look exactly the same both on tiger and on leopard.

Well, for what it's worth, Safari (and by extension WebKit) has had this bug since 10.4.x. I haven't changed anything on my web site's text shadows in ages, and I am still running 10.4.11 on one Mac that still shows them with the bug. It still looked fine up to 10.5.1 (which I have on another Mac), but in 10.5.2 it was fixed, so all shadows designed for the old behaviour were suddenly off by one pixel down and right.


So, I am actually able to see the matching 10.5.1 and 10.4 behaviour side-by-side. Not sure about NSShadow.

This is the behavior I am seeing as well. The shadows only look bad on 10.5.2 (which now actually draws them at the offset you pass in.)


I'd still like to derive the function

	f(actual offset) = 10.5.1/10.4.x offset

so that I don't have to hand tweak every shadow offset in my app so that they look the same on both OS releases.

Jim_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSShadow changes on 10.5.2?
      • From: Jim Correia <email@hidden>
References: 
 >NSShadow changes on 10.5.2? (From: Jim Correia <email@hidden>)
 >Re: NSShadow changes on 10.5.2? (From: João Pavão <email@hidden>)
 >Re: NSShadow changes on 10.5.2? (From: Uli Kusterer <email@hidden>)
 >Re: NSShadow changes on 10.5.2? (From: Jim Correia <email@hidden>)

  • Prev by Date: Control Design Advice
  • Next by Date: Re: KVC and KVO for arrays
  • Previous by thread: Re: NSShadow changes on 10.5.2?
  • Next by thread: Re: NSShadow changes on 10.5.2?
  • Index(es):
    • Date
    • Thread