How to enable subpixel font smoothing in Wine 1.1.12

I just updated Ubuntu and got the latest version of Wine, v1.1.12, which apparently came with a big new feature, “Support for subpixel font rendering”. Unfortunately, as soon as I opened EditPlus 2, the one Windows application I depend on Wine for, all my fonts were jaggy!

After a little Googling around, I found a bug report, #16729, which described the problem exactly, and also contained a registry fix somewhat buried within the comments. So I figured I’d reprint them here.

  1. Create a temporary file with the necessary registry settings:
    echo 'REGEDIT4
    
    [HKEY_CURRENT_USER\Control Panel\Desktop]
    "FontSmoothing"="2"
    "FontSmoothingType"=dword:00000002
    "FontSmoothingGamma"=dword:00000578
    "FontSmoothingOrientation"=dword:00000001
    ' > ~/wine_fontsmoothing.reg
  2. Add it to the registry:
    regedit ~/wine_fontsmoothing.reg
  3. Delete the temporary file:
    rm ~/wine_fontsmoothing.reg

4 comments

name
blog (optional)
comment

I don’t really know how I stumbled upon this article, but thank you. I’ve been looking for this forever!

solved my problem perfectly. thanks.

I support the easier way to do it. Worked fantastically when this didn’t. I appreciate the attempt, however.

monthchunks

license

Justinsomnia is licensed under a Creative Commons Attribution 3.0 License.

Please see my Attribution Policy for more information.