[TIP] Beautiful fonts on Qt, Tk, X11...

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
lmello
Posts: 218
Joined: 4. Aug 2010, 17:38
Location: Brazil
Contact:

[TIP] Beautiful fonts on Qt, Tk, X11...

Post by lmello »

Just put this:

Code: Select all

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
	<match target="font">
		<edit mode="assign" name="rgba">
			<const>rgb</const>
		</edit>
	</match>
	<match target="font">
		<edit mode="assign" name="hinting">
			<bool>true</bool>
		</edit>
	</match>
	<match target="font">
		<edit mode="assign" name="hintstyle">
			<const>hintfull</const>
		</edit>
	</match>
	<match target="font">
		<edit mode="assign" name="antialias">
			<bool>true</bool>
		</edit>
	</match>
<!-- Disable autohint for bold fonts so they are not overly bold -->
	<match target="font" >
		<test compare="more" name="weight" >
			<const>medium</const>
		</test>
		<edit mode="assign" name="autohint" >
			<bool>false</bool>
		</edit>
	</match>
</fontconfig>
in your ~/.fonts.conf. :)
Tideflat
Posts: 15
Joined: 12. May 2012, 01:00

Re: [TIP] Beautiful fonts on Qt, Tk, X11...

Post by Tideflat »

Could this get put onto the wiki?
Post Reply