Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSShadow changes on 10.5.2?




On Feb 14, 2008, at 5:19 PM, Jim Correia wrote:

On 10.5.2, it appears that NSShadow has changed so that the shadow draws at the offset sent to -setShadowOffset:.

In places where I was using NSShadow in the user interface for subtle visual effects, the shadow is now drawn at a different offset than on 10.4.x (and 10.5.0-1). In some cases this makes the visual effect look bad, because I had tuned the offset so that it looked good, not because of any particular fondness for the actual values.

While I can't do anything about the binaries already shipped, I'd like to fix my current source base. I still need to support (and look good) on Tiger.

Can someone share what the mapping between input offset and rendered shadow location was previous to 10.5.2?


That's definitely annoying. I make heavy use of NSShadow throughout my custom UI (which renders text anywhere from 11 pt all the way up to 48 point). My IB plug-ins allow me to set all attributes of the shadow, so I'll play around with it on my 10.5.2 system and also with 10.4.x (I have IB palettes for that OS). I'll then use Photoshop to compare.

Hopefully this is deemed a bug. It's almost like the blur value is off somehow though; the offsets seem OK to me at first glance.

___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com

_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >NSShadow changes on 10.5.2? (From: Jim Correia <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.