This is a discussion on How to antialias only bold fonts with xft within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> How to antialias only bold fonts with xft? Thanks for any help in advance. -- Corvin e-mail: corvin.dun.wytnijto@wp.p...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| On Wed, 07 Apr 2004 23:47:19 +0200, Corvin <corvin.dun.wytnijto@wp.pl> scribbled: > How to antialias only bold fonts with xft? > Thanks for any help in advance. I assume you mean Xft2/fontconfig, in which case add this to local.conf or your ~/.fonts.conf: <match target="pattern"> <test name="weight" compare="less"> <const>demibold</const> </test> <edit name="antialias" mode="assign"> <bool>false</bool> </edit> </match> If you meant the obsolete Xft1, you'd want something like this in XftConfig (untested!): match all weight < bold edit antialias = false; |
| ||||
| BAM : > <match target="pattern"> > <test name="weight" compare="less"> > <const>demibold</const> > </test> > <edit name="antialias" mode="assign"> > <bool>false</bool> > </edit> > </match> > Thank you -- Corvin e-mail: corvin.dun.wytnijto@wp.pl |