After trying to enable font smoothing and font replacements (source) with only slight changes I found someone trying to solve the same issues (source), albeit compiling everything from scratch which I don't want to do.
It turns out that the Retina display on my MacBook Pro was causing the issues with blurry fonts because Wine was not using the "real" resolution, only the reported "lower resolution".
To enable Retina support in Wine open the registry editor via a terminal, preferably through Wine Devel.app installed with Wine:
$ wine regedit
Then find the folder/key:
HKEY_CURRENT_USER\Software\
I then had to create the folder/key called "Mac Driver" and inside the new folder/key create a new string value called RetinaMode. Now edit the value of the RetinaMode to be "y".
Picture showing the location of the new value to enable Retina support for Wine on macOS. Path is: HKEY_CURRENT_USER\Software\Wine\Mac Driver\ |
$ wineboot
Then open Wine configuration dialog:
$ winecfg
The window will now be very small due to Retina support being enabled. Navigate to Graphics and select a screen resolution scaling of 220 dpi.
Close the Wine configuration dialog and restart wine again:
$ wineboot
That's it, next time you open a program (e.g. Wine configuration dialog) it will be the correct size and with smooth fonts.
The windows terminal that is launched by:
$ wineconsole
Uses other font/scaling settings so it is necessary to choose another font size by right clicking the program and navigating to properties. Then select Font and choose a font size larger than 28, remember to select "retain the for later sessions" to save the settings for new windows.
10 comments:
Amazing post!! Surprisingly this fixed the potato quality fonts on wine. Great work, now where's that donate button? :)
Been looking for a solution to this for years, thank you posting this! Had no idea Wine 2.x had built-in Mac retina support.
Thank you!
Amazing. Thanks a lot.
Awesome, I was missing the "string" part. For me, wineboot after each step was not necessary and on a 13" MBPro for Sparx EA 165 dpi worked best. Otherwise, most excellent advice!
Thank you so much. You rock.
Wow man, I was looking to a solution for this for a very long time.
Thanks a lot!!
Love ya man! Thanks
Amazing, there is nothing in the docs (read google) about this. Brilliant!!! 11/10
Nice!
The only thing that puzzles me is how YOU found this in the first place ;D
Needle in a haystack, for sure.
👍🏼
Post a Comment