summarylogtreecommitdiffstats
path: root/freetype2.install
blob: 42c697d2af6195e4cdc56e852c60f15ad51588fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
post_install() {
  post_upgrade $1 0
}

post_upgrade() {
  if (( $(vercmp $2 1:2.6.3+p104+g7f569f4-1) < 0 )); then
    cat <<MSG
  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 (default in 2.6)
      FT2_SUBPIXEL_HINTING=1  # Infinality mode
      FT2_SUBPIXEL_HINTING=2  # Minimal mode (default in 2.7)
MSG
  fi
}