[racket-dev] gracket on retina

From: Asumu Takikawa (asumu at ccs.neu.edu)
Date: Sun Mar 3 12:53:56 EST 2013

On 2013-02-27 10:53:44 -0700, Matthew Flatt wrote:
> Unfortunately, I have no idea of what needs to be done. I think either
> XCode or NSApplicationMain() must do the right magic to make applications
> work in Retina-display mode, and somehow we have to recreate that.
>
> Essentially all OS/Cocoa interaction for `racket/gui' is implemented
> dynamically via the FFI, as opposed to static configuration that XCode
> normally installs for a GUI application. Also, we can't call
> NSApplicationMain(), because it takes over the process.

At least for window decorations, it sounds like declaring something in
an app-info.plist file (do we generate one of those for OS X packaging?)
is supposed to help in some cases:
  https://codereview.chromium.org/10069029
  https://bugzilla.mozilla.org/show_bug.cgi?id=674373
  https://bugzilla.mozilla.org/show_bug.cgi?id=764083

Is that the "static configuration" you were referring to?

Cheers,
Asumu

Posted on the dev mailing list.