]> git.wh0rd.org - fontconfig.git/blobdiff - debian/fontconfig.postinst
Don't force bitmap font enable in default configuration; allows users to
[fontconfig.git] / debian / fontconfig.postinst
index e7f6817dd421dbeedd638c17c52e56fd1fcee171..7030cdbd274496cdaf8a63d8e398a5a20e7c9d47 100755 (executable)
@@ -26,7 +26,7 @@ fi
 case "$hinting_type" in
 "Native")
        ;;
-"Autohint")
+"Autohinter")
        ln -s $CONFDIR/$autohint $CONFDIR/$hint_prio$autohint
        ;;
 "None")
@@ -52,10 +52,10 @@ fi
 case "$subpixel_rendering" in
 "Automatic")
        ;;
-"Enable")
+"Always")
        ln -s $CONFDIR/$subpixel $CONFDIR/$subpixel_prio$subpixel
        ;;
-"Disable")
+"Never")
        ln -s $CONFDIR/$no_subpixel $CONFDIR/$subpixel_prio$no_subpixel
        ;;
 esac
@@ -64,7 +64,7 @@ db_get fontconfig/enable_bitmaps
 enable_bitmaps="$RET"
 
 bitmaps_prio="30-debconf-"
-yes_bitmaps="yes_bitmaps.conf"
+yes_bitmaps="yes-bitmaps.conf"
 no_bitmaps="no-bitmaps.conf"
 
 if [ -h $CONFDIR/$bitmaps_prio$yes_bitmaps ]; then
@@ -77,7 +77,13 @@ fi
 
 case "$enable_bitmaps" in
 "true")
-       ln -s $CONFDIR/$yes_bitmaps $CONFDIR/$bitmaps_prio$yes_bitmaps
+#
+# Bitmap fonts will be enabled by default, so there's no need
+# to use this configuration file.  However, the file remains useful if
+# you want to force bitmaps to be considered even when some application
+# disables them.
+#
+#      ln -s $CONFDIR/$yes_bitmaps $CONFDIR/$bitmaps_prio$yes_bitmaps
        ;;
 *)
        ln -s $CONFDIR/$no_bitmaps $CONFDIR/$bitmaps_prio$no_bitmaps