OS X: How do I render crisp text to a retina display through wxDC::DrawText?

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
Aardappel
Earned a small fee
Earned a small fee
Posts: 10
Joined: Mon Jan 12, 2009 3:12 pm

OS X: How do I render crisp text to a retina display through wxDC::DrawText?

Post by Aardappel » Sat Nov 19, 2016 8:54 pm

My app (treesheets.com) renders a lot of text through wxDC::DrawText onto a wxScrolledWindow, and it comes out all blurry on a retina mac.

How do I tell it to not upscale a low-res version, but give me the full res (and a scaling factor?) instead? I couldn't find anything to this effect.

And yes, I have the flag required for retina in my info.plist, this only affects the widgets.

This is on OS X Sierra, using latest Xcode, wxWidgets 3.1.

Post Reply