I run Evernote under wine on two Linux computers. They show different font appearances:

Font rendering comparison

Left: LMDE 64-bit (already dist-upgrade to Debian testing but keep LMDE adjustments) + MATE; Right: Ubuntu 14.04 LTS 64-bit + Unity

  • Each wine is from the distro's default repository, with the same version 1.6.2.
  • Both wine configs are default, except replacing the font families under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes with "Droid Sans Fallback" in order to display Chinese.
  • I didn't change Ubuntu appearance or font settings; fonts in other apps look perfect.
  • I have tried to copy the entire $HOME/.wine directory from LMDE and run on Ubuntu, but it didn't improve. That means wine config should not be the problem source?

The fonts look much better on LMDE, and I like to know how to make those on Ubuntu look the same? What did LMDE do/adjust?


In those two samples it looks like the font rendering algorithm is the same, one is just much darker than the other (and the darker one looks, to me, better).

This would be font smoothing "gamma" - gamma controlling how light/dark the partially lit pixels are adjusted.

Both the two following articles recommending setting font smoothing in Wine using regedit (yes, Wine maintains a Windows-style registry and has its own regedit.exe).

Run regedit.exe and adjust the following keys in [HKEY_CURRENT_USER\Control Panel\Desktop] to these values:



| improve this answer | |
  • Thanks for your reply. But this doesn't work. I have read these articles you provided before when I was searching for answers. They may be suitable for wine < 1.6, but >= 1.6 font smoothing (anti-aliasing) is supported in the DIB engine, using the system anti-aliasing configuration from FontConfig. So I guess the solution is not in wine config but system-wise. As I mentioned, copying the entire .wine and running on another machine didn't solve the problem. – Locutus Cardassia Nov 5 '14 at 8:06
  • In that case I'm at a loss. Can't find a font smoothing gamma setting for fontconfig in a quick Google, but you should probably look for one. I don't know why it would be different between Ubuntu and Mint/Debian. – thomasrutter Nov 7 '14 at 0:36
  • BTW if it's system-wide and not just Wine, do non-Wine applications (either Qt or GTK for example) also exhibit the same difference? – thomasrutter Nov 7 '14 at 0:37
  • Fonts in non-Wine apps in LMDE or Ubuntu both look good and as expected. I tried changing the hinting from slight to full but the difference persisted. – Locutus Cardassia Nov 7 '14 at 5:08

I had exactly the same problem as you and my test was Evernote too. After following the guide in Improve GUI appearance of Wine applications my problem is solved.


wget http://files.polosatus.ru/winefontssmoothing_en.sh

bash winefontssmoothing_en.sh

Select third option in terminal - with the arrows, then use tab key to select ok and 'enter' (source: here)

This is the script linked to above:

# Quick and dirty script for configuring wine font smoothing
# Author: Igor Tarasov <tarasov.igor@gmail.com>


if [ ! -x "`which "$WINE"`" ]
    echo "Wine was not found. Is it really installed? ($WINE)"
    exit 1

if [ ! -x "`which "$DIALOG"`" ]

TMPFILE=`mktemp` || exit 1

$DIALOG --menu \
    "Please select font smoothing mode for wine programs:" 13 51\
        1 "Smoothing disabled"\
        2 "Grayscale smoothing"\
        3 "Subpixel smoothing (ClearType) RGB"\
        4 "Subpixel smoothing (ClearType) BGR" 2> $TMPFILE


if [ $STATUS != 0 ]
    rm -f $TMPFILE
    exit 1

MODE=0 # 0 = disabled; 2 = enabled
TYPE=0 # 1 = regular;  2 = subpixel

case $ANSWER in
    1) # disable
    2) # enable
    3) # enable cleartype rgb
    4) # enable cleartype bgr
        rm -f $TMPFILE
        echo Unexpected option: $ANSWER
        exit 1

echo "REGEDIT4

[HKEY_CURRENT_USER\Control Panel\Desktop]
\"FontSmoothingGamma\"=dword:00000578" > $TMPFILE

echo -n "Updating configuration... "

$WINE regedit $TMPFILE 2> /dev/null

rm -f $TMPFILE

echo ok
| improve this answer | |
  • Ps.: I'm on same config (ubuntu 14.04+wine+evernote) as you. – Fábio Tramasoli Dec 23 '14 at 13:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.