Re: Drawing text like Lion's Mail
Re: Drawing text like Lion's Mail
- Subject: Re: Drawing text like Lion's Mail
- From: Andre Masse <email@hidden>
- Date: Sun, 07 Aug 2011 20:22:32 -0400
Interesting. Not sure if could be possible to convert the text to an image, apply a gradient and use one of the copy method of NSImage. I needed a break from coding data migration, hence the pause trying this. Now, I'm back to the boring part ;-)
Looks like your image didn't pass the list. Feel free to email it to me directly.
Thanks,
Andre Masse
On 07/08/2011, at 14:12 , Siegfried wrote:
>
> On 07/08/2011, at 10:52, Andre Masse wrote:
>
>> For those interested, Matt and Kyle were right. Helvetica Neue Bold 20pts. All my attempts to replicate the shadow have failed though. I'm using 85% white and it's good enough for me.
>>
>
> The shadow is just an "inner shadow". The problem is that I have no idea on how to create an inner shadow in Cocoa. The obvious technique is to apply a shadow on a white layer that has holes in form of letters. But I also have no idea on how to do such intersection.
>
> See the attached image and tell me if you like it. By the way, let's see if you find which one is the original :-)
_______________________________________________
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