I'd like to replicate the recessed text style of Messages/iMessage, or, the text "white-shadow" style on a light gray background.
As you can see, the texts are with "white-shadow" even on the light gray background. The bold texts do have subpixel rendering while the gray texts don't (by design?).
I've tried -setBackgroundStyle:NSBackgroundStyleRaised
. However it was generating shadows darker than the background. -setBackgroundStyle:NSBackgroundStyleLowered
was worse that it even overrode my font colour setting.
So, what is the right way to do this? Any tricks or just have to subclass NSTextFields
?