You are not logged in.

#1 2020-11-08 21:44:01

Maniaxx
Member
Registered: 2014-05-14
Posts: 761

Wine - How to disable font smoothing?

Hallo,
i'm not sure what happened recently but font anti-aliasing (font smoothing, subpixel rendering) is now bound to my xfce system setting (that is 'ON' indeed). Wine never honored that before. Wine apps (with Tahoma) were always pixel-exact and clear without any sub-pixel rendering. The only way to temporarily restore that state is to change the host font settings (in xfce) or the command below (that actually is the same).

This command is floating around the net:
xrdb -query | grep -vE 'Xft\.(anti|hint|rgba)'

Its not the most intelligent one-liner and most people do not even understand it. The important thing is that it's neither a valid solution nor is it persistent.

I already tried 'ClientSideAntiAliasWithCore = N' and 'ClientSideAntiAliasWithRender = N' in 'regedit' and 'winetricks settings fontsmooth=disable' but it doesn't help.

Any ideas how to disable font smoothing?

wine-5.21


sys2064

Offline

#2 2020-11-22 20:40:01

nanawel
Member
From: Occitanie, FR
Registered: 2012-05-07
Posts: 94
Website

Re: Wine - How to disable font smoothing?

Same here.
It's not that this new font smoothing thing is unbearable, but clearly it changes the way the applications look, and make them less readable. I'd be glad to know how to disable it.

Offline

#3 2020-11-23 11:23:13

siepo
Member
Registered: 2020-11-23
Posts: 10

Re: Wine - How to disable font smoothing?

Windows fonts may have embedded bitmaps. For me, these caused horrible rendering on LibreOffice (under Ubuntu), Folllowing advice from the libreoffice people, I turned off the embedded bitmaps by creating a file $HOME/.config/fontconfig/fonts.conf with content:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <match target="font" >
      <edit name="embeddedbitmap" mode="assign">
          <bool>false</bool>
      </edit>
  </match>
</fontconfig>

So you could try to turn them ON by creating such a file, but with true rather than false, and maybe a more limiting match than 'font'.

Offline

Board footer

Powered by FluxBB