diff options
author | Jan Alexander Steffens (heftig) | 2016-06-15 14:46:11 +0200 |
---|---|---|
committer | Jan Alexander Steffens (heftig) | 2016-06-15 14:47:18 +0200 |
commit | 22fb8243cd7494bad8144a988825c0f0c2728d92 (patch) | |
tree | 2c1bfd8ba63a98a2ff3174012b5ccf21fa99a021 /freetype2.install | |
parent | e450529035b1dd14bd5772d3da6aaf76ff51eeb8 (diff) | |
download | aur-22fb8243cd7494bad8144a988825c0f0c2728d92.tar.gz |
Make subpixel hinting mode configurable
Diffstat (limited to 'freetype2.install')
-rw-r--r-- | freetype2.install | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/freetype2.install b/freetype2.install index 38894409cf89..1e1efe601e25 100644 --- a/freetype2.install +++ b/freetype2.install @@ -1,8 +1,13 @@ post_upgrade() { - if (( $(vercmp $2 2.5.4-3) < 0 )); then + if (( $(vercmp $2 1:2.6.3+p104+g7f569f4-1) < 0 )); then cat <<MSG - Subpixel hinting can be disabled by adding FT2_NO_SUBPIXEL_HINTING=1 - to your environment, for example /etc/environment or ~/.pam_environment . + Subpixel hinting mode can be chosen by setting the right value in + your environment, for example /etc/environment or ~/.pam_environment . + + Available settings: + FT2_SUBPIXEL_HINTING=0 # Classic mode + FT2_SUBPIXEL_HINTING=1 # Infinality mode + FT2_SUBPIXEL_HINTING=2 # Default mode MSG fi } |