shithub: puzzles

Download patch

ref: 7edbee6cb278b5278bf25065862b0950494a21ef
parent: 5141e5b3e779573f907215a21d4a4731adb9c89b
author: Josh Lee <jleedev@gmail.com>
date: Tue May 29 04:08:21 EDT 2018

Enable high resolution on osx

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.

--- a/osx-info.plist
+++ b/osx-info.plist
@@ -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>