After you install wine and have a wine "prefix" (normally ~/.wine)
1: Create this "rgb.reg" file to enable rgb subpixel font anti-aliasing:
Code: Select all
REGEDIT4
[HKEY_CURRENT_USER\Control Panel\Desktop]
"FontSmoothing"="2"
"FontSmoothingGamma"=dword:00000578
"FontSmoothingOrientation"=dword:00000001
"FontSmoothingType"=dword:00000002
2: Do this:
Code: Select all
wine regedit rgb.reg
Code: Select all
winetricks settings fontsmooth=rgb
3. This will enable rgb anti-aliasing in linux AND prevent the use of bitmap fonts, which seems to be a problem with wine.
Create or modify the file
Code: Select all
~/.config/fontconfig/fonts.conf
Code: Select all
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit mode="assign" name="embeddedbitmap"><bool>false</bool></edit>
<edit mode="assign" name="antialias"> <bool>true</bool></edit>
<edit mode="assign" name="autohint"> <bool>false</bool></edit>
<edit mode="assign" name="hinting"> <bool>true</bool></edit>
<edit mode="assign" name="hintstyle"><const>hintslight</const></edit>
<edit mode="assign" name="rgba"><const>rgb</const></edit>
<edit mode="assign" name="lcdfilter"><const>lcddefault</const></edit>
</match>
</fontconfig>
Code: Select all
winecfg