Page 1 of 1

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

Posted: 28. May 2012, 17:06
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. :)

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

Posted: 30. May 2012, 18:30
by Tideflat
Could this get put onto the wiki?