alessivs / supermemo-wine

Project to make SuperMemo for Windows editions runnable with Wine
62 stars 5 forks source link

Font size too small on HiDPI #23

Closed song12301 closed 3 years ago

song12301 commented 3 years ago

I have tried changing the display using winecfg per the supermemo linux wiki page recommendation, however that does not work. Screenshot of Problem: Screenshot from 2021-02-16 20-57-05 Furthermore, I am unable to change the interface font size to over 14 (although I can change the other types of font sizes). Maybe this has something to do with the issue?: Screenshot from 2021-02-16 20-57-14 Any help is appreciated, thanks!

alessivs commented 3 years ago

I have tried changing the display using winecfg per the supermemo linux wiki page recommendation

Do you mean this recommendation?

I would first tackle the system font DPI in Wine, and only then, the apparent font size limitation of the widgets controlled by SuperMemo.

From looking at the native font selection dialog as well as the menu bar font, it is possible that the DPI changes in winecfg didn't apply. Possible reasons:

Would one of these be the case?

Note that hidpi support in Wine is limited to font size (AFAIK).

song12301 commented 3 years ago

Thanks a lot! It was option 3.

I just ran WINEPREFIX=~/.local/share/wineprefixes/supermemo15/ winecfg, then increased the font in the graphics tab