Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with qtawesome fonts not rendering on OS X #2718

Merged
merged 1 commit into from
Sep 28, 2015

Conversation

SylvainCorlay
Copy link
Member

Fixes #2597.

@SylvainCorlay
Copy link
Member Author

Although, icons are on my retina display in the toolbars and push buttons are pixelated, while they are perfectly crisp elsewhere like in the preference menu.

The two clues I have from earlier research is that

  • starting with Qt5, we should be able to set app.setAttribute(QtCore.Qt.AA_UseHighDpiPixmaps) at the level of the QApplication.
  • besides, it some threads mention that the python.app's Info.plist should be edited to have
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSHighResolutionCapable</key>
<true/> 

@ccordoba12 ccordoba12 added this to the v3.0 milestone Sep 28, 2015
@ccordoba12
Copy link
Member

Thanks @SylvainCorlay, this really fixes the problem :-)

ccordoba12 added a commit that referenced this pull request Sep 28, 2015
Fix issue with qtawesome fonts not rendering on OS X
@ccordoba12 ccordoba12 merged commit b1b31b4 into spyder-ide:master Sep 28, 2015
@SylvainCorlay SylvainCorlay deleted the fix_ttf_loading_osx branch October 20, 2015 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants