OS X Mavericks: Screenshot of window containing layer-backed view displays horribly rendered text. Advice?

194 Views Asked by At

I'm trying to design the Preferences window for my app, so I've been taking screenshots to use in Photoshop and Omnigraffle (I tried laying stuff out in Interface Builder, but it's one of the worst visual layout tools I've ever used [no zooming?]. I honestly can't believe it's a product of the folks at Cupertino, but I digress.).

Anyway, when I take a fullscreen screenshot via ⌘ Cmd+⇧ Shift+3 or a single window screenshot via ⌘ Cmd+⇧ Shift+4+Space, the rendering of text in layer-backed views is super ugly — and not in the usual CALayer "U can haz no sub-pixelz" way either. When taking a fullscreen shot, it doesn't change the way the text is actually rendered; it just renders poorly in the screenshot. When taking the window-only screenshot, however, it actually changes the view's rendered text, and it's pretty bad.

Here's an example of what I'm talking about:

Screenshot of Preferences window

You'll notice that the text displayed in my custom "Indicator Style" control and several of the other labels aren't ugly because in trying to figure out what's up with the rendering, I gave them opaque backgrounds using the "Window Background" color.

If anyone would be willing to help a brotha out, it'd be much appreciated.

P.S. Don't judge any window styling. It's still a work-in-progress. :-)

Edit: I just took a screenshot of Xcode's own Preferences window, and what do you know?! Even Apple's views are suffering from what I've described (see screenshot below). So, does this mean that this is a Mavericks bug we're dealing with? Anyone have some top secret inside info? I wonder if this is related to Quartz in some way because ever since upgrading to Mavericks, my favorite screensaver (Arabesque) is totally screwed up, too. Oh, well …

Xcode Preferences window displaying heavy text

0

There are 0 best solutions below