From 2ebda7879a1c495c3aadada3d8ed3cabeca178c0 Mon Sep 17 00:00:00 2001 From: Julian Depetris Chauvin Date: Sun, 25 Aug 2013 21:44:04 -0300 Subject: [PATCH] Customize info.plist to add key to use font auto-scaling in OS X. This should at least fix the blurry texts in Macs with retina display support (issue #264) --- goldendict.pro | 1 + myInfo.plist | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 myInfo.plist diff --git a/goldendict.pro b/goldendict.pro index 83413d4b..24a8921f 100644 --- a/goldendict.pro +++ b/goldendict.pro @@ -155,6 +155,7 @@ mac { macmouseover.mm \ speechclient_mac.mm ICON = icons/macicon.icns + QMAKE_INFO_PLIST = myInfo.plist QMAKE_POST_LINK = mkdir -p GoldenDict.app/Contents/Frameworks & \ cp -nR $${PWD}/maclibs/lib/ GoldenDict.app/Contents/Frameworks/ & \ mkdir -p GoldenDict.app/Contents/MacOS/locale & \ diff --git a/myInfo.plist b/myInfo.plist new file mode 100644 index 00000000..60302581 --- /dev/null +++ b/myInfo.plist @@ -0,0 +1,22 @@ + + + + + CFBundleIconFile + @ICON@ + CFBundlePackageType + APPL + CFBundleGetInfoString + @SHORT_VERSION@ + CFBundleSignature + @TYPEINFO@ + CFBundleExecutable + @EXECUTABLE@ + CFBundleShortVersionString + @SHORT_VERSION@ + CFBundleIdentifier + org.goldendict + NSPrincipalClass + NSApplication + +