summarylogtreecommitdiffstats
path: root/freetype2.install
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig)2016-06-15 14:46:11 +0200
committerJan Alexander Steffens (heftig)2016-06-15 14:47:18 +0200
commit22fb8243cd7494bad8144a988825c0f0c2728d92 (patch)
tree2c1bfd8ba63a98a2ff3174012b5ccf21fa99a021 /freetype2.install
parente450529035b1dd14bd5772d3da6aaf76ff51eeb8 (diff)
downloadaur-22fb8243cd7494bad8144a988825c0f0c2728d92.tar.gz
Make subpixel hinting mode configurable
Diffstat (limited to 'freetype2.install')
-rw-r--r--freetype2.install11
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
}