mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
work around a font issue on osx10.9
This commit is contained in:
parent
04ff4cc3fc
commit
41a5f4eb4e
1 changed files with 3 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue