lukasmonk / lucaschess

Chess GUI
http://lucaschess.pythonanywhere.com/
GNU General Public License v2.0
339 stars 76 forks source link

DPI-aware Lucas Chess #28

Open miguel199 opened 7 years ago

miguel199 commented 7 years ago

Dear Lucas Chess Team, First, I want to express my gratitude for your valuable contribution with Lucas Chess. This software is powerful and highly useful for many chess players. In this opportunity, I’m writing to suggest an idea of improvement for future versions of your tool. Due to the increasing number of computers with High DPI screens (i.e. 4k), it is necessary to support the automatic screen scale factor in Qt. The following link provides information to support these characteristics: http://doc.qt.io/qt-5/highdpi.html. Please find attached a screen capture to illustrate the issue on a 4k display. Thanks for your attention, and best regards. lucaschess_on_4k

lukasmonk commented 7 years ago

Problem is that this change implies, to migrate from pyqt4 to pyqt5, and from python 2 to python 3. Not an easy way at all.

Perhaps the font change could help, I don´t know: Options/Configuration/Appearance, ...

clozanoruiz commented 5 years ago

Hi, As a workaround that worked for me (using 4k screen on a Windows 10) you can change the high DPI setting of the application: Locate your Lucas.exe, right-click on it, select Properties and go tot he tab 'Compatibility', once there click the button 'Change high DPI settings', in the dialog that pops out enable the option 'Override high DPI scaling behavior', select the scaling performed by 'System (Enhanced)' and apply the changes.

Hope it helps to anyone facing the same problem.