diff options
author | root <root@rshg054.dnsready.net> | 2012-09-07 00:03:53 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-09-07 00:03:53 +0000 |
commit | ed51a8c1611ffa602f5f9628c858f6edbc218fc8 (patch) | |
tree | 9da1c83153c6a7313cc5fbdc6a361083051e9f1d /testing/fontconfig/fontconfig.install | |
parent | 3a491cfc574c49ee5f006f74323b6d432d372ab8 (diff) |
Fri Sep 7 00:03:53 UTC 2012
Diffstat (limited to 'testing/fontconfig/fontconfig.install')
-rw-r--r-- | testing/fontconfig/fontconfig.install | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/fontconfig/fontconfig.install b/testing/fontconfig/fontconfig.install new file mode 100644 index 000000000..3a0ca573b --- /dev/null +++ b/testing/fontconfig/fontconfig.install @@ -0,0 +1,39 @@ +post_install() { + cat << _EOF + + Fontconfig configuration is done via /etc/fonts/conf.avail and conf.d. + Read /etc/fonts/conf.d/README for more information. + + Configuration via /etc/fonts/local.conf is still possible, + but is no longer recommended for options available in conf.avail. + + Main systemwide configuration should be done by symlinks + (especially for autohinting, sub-pixel and lcdfilter): + + cd /etc/fonts/conf.d + ln -s ../conf.avail/XX-foo.conf + + Check also https://wiki.archlinux.org/index.php/Font_Configuration + and https://wiki.archlinux.org/index.php/Fonts. + +_EOF + + echo -n "updating font cache... " + /usr/bin/fc-cache -f + echo "done." +} + +post_upgrade() { + echo -n "updating font cache... " + /usr/bin/fc-cache -f + echo "done." +} + +post_remove() { + cat << _EOF + + Check for dead symlinks and leftover files + in /etc/fonts/conf.d/ + +_EOF +} |