chiark / gitweb /
Enable high resolution on osx
authorJosh Lee <jleedev@gmail.com>
Tue, 29 May 2018 12:08:21 +0000 (08:08 -0400)
committerSimon Tatham <anakin@pobox.com>
Fri, 1 Jun 2018 05:50:00 +0000 (06:50 +0100)
This consists of setting a flag in the Info.plist. Everything in the
game is resolution-independent, of course, and has been thoroughly
tested on other platforms. The only issue I found is cosmetic: The
rounded window corners become more dramatic and don't look as good
against the square status bar.

Increasing the resolution also exposes two graphical quirks that I
don't think are new. Curved rails in Tracks seem to be made of short
segments that don't quite connect, but I don't see this on Android,
and on closer inspection this is already present on low resolution in
OS X. Lines in Untangle, and also Galaxies, that are at a multiple of
45 degrees seem thinner than other lines, but I also see this on
Android — I think it's just more obvious on high resolution, and could
be adjusted with antialiasing. Everything else looks as it should, for
example when moving a window between low and high dpi displays.

osx-info.plist

index 9f4aef8e537ca8dad207dc02f4fdb53724664cf7..ec90b9f224975f1f9716eda53b26d581c7f873b0 100644 (file)
@@ -30,5 +30,7 @@
        <string>????</string>
        <key>NSHumanReadableCopyright</key>
        <string>This software is copyright (c) 2004-2014 Simon Tatham</string>
+       <key>NSHighResolutionCapable</key>
+       <true/>
 </dict>
 </plist>