mirror of
https://github.com/ankitects/anki.git
synced 2025-11-14 16:47:12 -05: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 + "/../../..")
|
rd = os.path.abspath(moduleDir + "/../../..")
|
||||||
QCoreApplication.setLibraryPaths([rd])
|
QCoreApplication.setLibraryPaths([rd])
|
||||||
|
|
||||||
|
if isMac:
|
||||||
|
QFont.insertSubstitution(".Lucida Grande UI", "Lucida Grande")
|
||||||
|
|
||||||
# create the app
|
# create the app
|
||||||
app = AnkiApp(sys.argv)
|
app = AnkiApp(sys.argv)
|
||||||
QCoreApplication.setApplicationName("Anki")
|
QCoreApplication.setApplicationName("Anki")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue