mvf / qolibri

Continuation of the qolibri EPWING dictionary/book reader
GNU General Public License v2.0
168 stars 13 forks source link

Qolibri not scaling with DPI on RetinaDisplays with OSX. #15

Closed RedSofaForEveryone closed 5 years ago

RedSofaForEveryone commented 5 years ago

The resolution for the entire application looks really poor on the macbook pro 2015 version.

Effectively, it looks like the 3rd text listing in this image:

https://cloud.githubusercontent.com/assets/472356/12448107/26fa864c-bf74-11e5-9d60-e70d69e96524.png

I tried adding the mentioned settings from https://stuff.mit.edu/afs/athena/software/texmaker_v5.0.2/qt57/doc/qtdoc/highdpi.html -to the plist file but that did not work:

<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSHighResolutionCapable</key>
<string>True</string>

I'm assuming it's because the QT version is too low?

mvf commented 5 years ago

Thanks a lot for reporting this, I could reproduce it with Retina emulation. Your change to Info.plist fixes it for me. You could try if this Info.plist works for you (after renaming it back, GitHub doesn't support .plist attachments).

There seems to be some caching in place, at least for me not all updates to Info.plist would get picked up. Closing the relevant Finder window seems to fix it most of the time.

RedSofaForEveryone commented 5 years ago

Thank you for revising the QT interface, It looks more modern now. Good to see this project is being maintained.