work around a font issue on osx10.9

This commit is contained in:
Damien Elmes 2013-10-26 10:53:27 +09:00
parent 04ff4cc3fc
commit 41a5f4eb4e

View file

@ -201,6 +201,9 @@ def run():
rd = os.path.abspath(moduleDir + "/../../..")
QCoreApplication.setLibraryPaths([rd])
if isMac:
QFont.insertSubstitution(".Lucida Grande UI", "Lucida Grande")
# create the app
app = AnkiApp(sys.argv)
QCoreApplication.setApplicationName("Anki")