Hi all,

I have a UI that is drawn on a a mainly white background. The text is comprised 
of a couple of different fonts other than Lucida Grande. The UI designer 
noticed that the fonts in the UI are rendering a bit thicker than what was 
mocked up in Photoshop.

I played around and was able to get the text inside some NSTableViews to look 
pretty close to the mockups using a kludge. Creating a custom NSTableRowView 
and overriding interiorBackgroundStyle to return NSBackgroundStyleDark (despite 
the fact that it's actually a white background) seems to help a great deal.

But it's a kludge, and only works for the table views & controls anyway. I'm 
more interested in knowing what the affects of [interior]BackgroundStyle are, and 
how it affects the text rendering. Specifically, the stroke on the text is a couple 
of pixels thinner when [interior]BackgroundStyle is set to NSBackgroundStyleDark.

Anybody know what exactly is being done by setting the background style, and 
how I can apply the same affect everywhere in my application?

Thanks,
Ryan

rmcg...@mac.com


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to