On 3 Dec 2013, at 12:05 pm, Leonardo wrote:
> But of course I can¹t
> expect other apps do the same job when I paste the text.
No indeed. The problem lies with Apple’s decision to let shadows ignore the
CTM. You need to file a radar with an enhancement request. It’ll be a dupe.
Alternatively,
On 3 Dec 2013, at 1:59 am, Leonardo wrote:
> It seems that rendering the text doesn’t call the shadow’s set method.
I guess not. Thing about text rendering is, that it needs to be highly
optimised, so I expect that the shadow object is only being used as a way to
convey the shadow settings,
tion about pasting
shadows at different scales...
Regards
-- Leonardo
Da: Graham Cox
Data: Sat, 30 Nov 2013 21:40:04 +0100
A: Leonardo
Cc: Cocoa-dev
Oggetto: Re: NSShadowAttributeName doesn't scale
On 30 Nov 2013, at 2:54 pm, Leonardo wrote:
> In facts, the NSShadow manual rep
On 30 Nov 2013, at 2:54 pm, Leonardo wrote:
> In facts, the NSShadow manual reports:
> "rotations, translations and other transformations of the current
> transformation matrix (the CTM) do not affect the resulting shadow."
>
> So, how to modify the NSShadowAttributeName accordingly to the view
Hi, in my NSTextView I have added the NSShadowAttributeName to the selected
text. It works well, I can quite see the shadow "one" pixel under the text,
the blur... Perfect.
But when I zoom in the NSTextView, I see a bigger text but the shadow
doesn't scale with the text. The shadow is still "one" p