I have installed both Wine Stable (4.0.1) and Wine Development (4.13) separately from .pkg and get similar error messages when launching winecfg in Terminal.
I'm running macOS 10.14.6 on a MacBook Pro 15.4-inch with screen resolution of 2880 x 1800.
When installing Wine Stable I also install the optional 64 bit support. When launching winecfg in Terminal I get the following output:
starparrot wrote:I have installed both Wine Stable (4.0.1) and Wine Development (4.13) separately from .pkg and get similar error messages when launching winecfg in Terminal.
I'm running macOS 10.14.6 on a MacBook Pro 15.4-inch with screen resolution of 2880 x 1800.
When installing Wine Stable I also install the optional 64 bit support. When launching winecfg in Terminal I get the following output:
0024:err:display:macdrv_ChangeDisplaySettingsEx No matching mode found 1680x1050x32 @60!
An example of font issues can be seen in the 2 screenshots attached, one is winecfg and the other a popup window in the program I am trying to run.
In winecfg I have tried to "Emulate a virtual desktop" where I set the resolution to 2800 x 1800, and/or, set the screen resolution dpi to 220 (from the default 96).
0024:err:display:macdrv_ChangeDisplaySettingsEx No matching mode found 1680x1050x32 @60!
An example of font issues can be seen in the 2 screenshots attached, one is winecfg and the other a popup window in the program I am trying to run.
In winecfg I have tried to "Emulate a virtual desktop" where I set the resolution to 2800 x 1800, and/or, set the screen resolution dpi to 220 (from the default 96).
To fix the fonts you would need to use the following export
This forces the newer version of freetype tote using to use an older render mode that will does support.
I looked into this and created a launcher in Script Editor which works and includes the fix you listed (code below). I've also started using Wine Development 4.14.
on run
--edit this to be the correct location and file to run (typically only edit after the "drive_c")
set toRun to "$HOME/Documents/Sierra Chart/SierraChart_64.exe"
--edit winePrefix if you are not using the default prefix
set winePrefix to "$HOME/.wine"
--edit wineLocation if your wine install is not the default location
--set wineLocation to "/usr/local/bin"
set wineLocation to "/Applications/Wine Devel.app/Contents/Resources/wine/bin/"
--edit dyldFallbackLibraryPath to your X11 lib folder, this one is set for XQuartz on 10.6+
set dyldFallbackLibraryPath to "/opt/X11/lib"
--Setting freetype rendering to 35 fixes blurred fonts when using newer freetype versions
set freetypefix to "truetype:interpreter-version=35"
-------------------------------------------------------
--DO NOT EDIT ANYTHING BELOW THIS LINE
-------------------------------------------------------
set toRunPath to do shell script "WINEPREFIX=\"" & winePrefix & "\"; TEMPVAR=\"" & toRun & "\"; echo \"${TEMPVAR%/*}\""
set toRunFile to do shell script "WINEPREFIX=\"" & winePrefix & "\"; TEMPVAR=\"" & toRun & "\"; TEMPVAR2=\"" & toRunPath & "\"; echo \"${TEMPVAR#$TEMPVAR2/}\""
do shell script "PATH=\"" & wineLocation & ":$PATH\"; export WINEPREFIX=\"" & winePrefix & "\"; export DYLD_FALLBACK_LIBRARY_PATH=\"" & dyldFallbackLibraryPath & "\"; export FREETYPE_PROPERTIES=\"" & freetypefix & "\"; cd \"" & toRunPath & "\"; wine \"" & toRunFile & "\" > /dev/null 2>&1 &"
end run
I've also made the made following changes in the Wine Registry Editor in HKEY_CURRENT_USER -> Control Panel -> Desktop ->:
FontSmoothingType: 1 -> 2
FontSmoothingGamma 0 -> 578
What else can I change to fix blurry fonts (and probably the icons too? I've attached a screenshot of how it currently looks. I've seen references online to fontsmooth, sub pixel smoothing, antialiasing etc., but I can't find entries for these in the Wine Registry Editor.
Yeah a while back I edited parts of the macOS wiki and added the fontfix directly into the script template same for the bash script template, added how to use winehq wine from a stock terminal session etc.
As for the blurry text that will have tocwait until I’m home to dig into it again as I can’t remenwbr off hand what those are
Thanks Gcenx. I have all these set in the Registry Editor (see attached screenshot), expect I can't find where the "# Winetricks fontsmooth=rgb" that you mention is? I'm not using Winetricks.
I should have removed that little note, I pulled that from my remakedefaults.reg from my Wineskin fork I have any additional registry setting I commented like that so I can see what each does at a glance.
In the case of that setting I pulled it from “Winetricks fontsmooth=rgb” so doing that exact command from winetricks would give the exact result as entering it manually.