From 894c9fe561e9178b3d4004c1370c3a45a945c507 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Sat, 23 Mar 2013 12:36:10 -0700 Subject: Make OpenSCAD look better on retina displays. Apps need an NSPrincipalClass entry in Info.plist to look good on retina displays, see "Framework-Scaled Mode Provides Automatic Scaling" in http://developer.apple.com/library/mac/#documentation/GraphicsAnimation/Conceptual/HighResolutionOSX/Explained/Explained.html It's also what we did in Chromium ( https://codereview.chromium.org/10069029 ) and what was suggested in openscad issue #279. This only makes the window decoration and all text pretty. The 3d view is still pixel-doubled: OpenGL is a pixel-based API and needs an explicit opt-in. This can be addressed in a future patch. While here, also consistently use tabs instead of spaces. diff --git a/Info.plist b/Info.plist index 144dd69..506bab7 100644 --- a/Info.plist +++ b/Info.plist @@ -35,15 +35,17 @@ Editor CFBundleTypeIconFile SCAD.icns - LSIsAppleDefaultForType + LSIsAppleDefaultForType NSAppleScriptEnabled - + + NSPrincipalClass + NSApplication OSAScriptingDefinition OpenSCAD.sdef - SUPublicDSAKeyFile - dsa_pub.pem + SUPublicDSAKeyFile + dsa_pub.pem -- cgit v0.10.1