wok diff fontconfig/receipt @ rev 18575

fontconfig: add lcdfilter-default in /etc/fonts/conf.d
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Wed Nov 11 00:58:31 2015 +0100 (2015-11-11)
parents a06c764fccd3
children fcb3be61118c
line diff
     1.1 --- a/fontconfig/receipt	Tue Mar 11 22:20:55 2014 +0100
     1.2 +++ b/fontconfig/receipt	Wed Nov 11 00:58:31 2015 +0100
     1.3 @@ -39,4 +39,18 @@
     1.4  	cp -a $install/usr/lib/*.so* $fs/usr/lib
     1.5  	cp -a $install/usr/share $fs/usr
     1.6  	cp -a $install/var $fs
     1.7 +
     1.8 +	cd $fs/usr/share/fontconfig/conf.avail
     1.9 +	for h in hintslight hintmedium hintfull; do
    1.10 +		cat > ./10-hintstyle-$h.conf <<EOT
    1.11 +<match target="font">
    1.12 +	<edit mode="append" name="hintstyle">
    1.13 +		<const>${h}</const>
    1.14 +	</edit>
    1.15 +</match>
    1.16 +EOT
    1.17 +
    1.18 +	ln -s /usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf \
    1.19 +		$fs/etc/fonts/conf.d
    1.20 +	chown -R root.root $fs
    1.21  }