[Python-checkins] cpython (3.2): Issue #15587: Enable Tk high-resolution text rendering on Macs with

ned.deily python-checkins at python.org
Sat Feb 2 08:18:16 CET 2013


http://hg.python.org/cpython/rev/7dfd84021494
changeset: 81902:7dfd84021494
branch: 3.2
parent: 81898:b6792067aafa
user: Ned Deily <nad at acm.org>
date: Fri Feb 01 23:12:42 2013 -0800
summary:
 Issue #15587: Enable Tk high-resolution text rendering on Macs with
Retina displays. Applies to Tkinter apps, such as IDLE, on OS X
framework builds linked with Cocoa Tk 8.5+.
Suggested by Kevin Walzer
files:
 Mac/IDLE/IDLE.app/Contents/Info.plist | 2 ++
 Mac/Resources/app/Info.plist.in | 2 ++
 Misc/NEWS | 4 ++++
 3 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/Mac/IDLE/IDLE.app/Contents/Info.plist b/Mac/IDLE/IDLE.app/Contents/Info.plist
--- a/Mac/IDLE/IDLE.app/Contents/Info.plist
+++ b/Mac/IDLE/IDLE.app/Contents/Info.plist
@@ -53,5 +53,7 @@
 	<string>????</string>
 	<key>CFBundleVersion</key>
 	<string>%version%</string>
+	<key>NSHighResolutionCapable</key>
+	<true/>
 </dict>
 </plist>
diff --git a/Mac/Resources/app/Info.plist.in b/Mac/Resources/app/Info.plist.in
--- a/Mac/Resources/app/Info.plist.in
+++ b/Mac/Resources/app/Info.plist.in
@@ -56,5 +56,7 @@
 	<true/>
 	<key>NSHumanReadableCopyright</key>
 	<string>(c) 2013 Python Software Foundation.</string>
+	<key>NSHighResolutionCapable</key>
+	<true/>
 </dict>
 </plist>
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -960,6 +960,10 @@
 
 - Issue #16256: OS X installer now sets correct permissions for doc directory.
 
+- Issue #15587: Enable Tk high-resolution text rendering on Macs with
+ Retina displays. Applies to Tkinter apps, such as IDLE, on OS X
+ framework builds linked with Cocoa Tk 8.5.
+
 Tools/Demos
 -----------
 
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /