This file is indexed.

config is in fontconfig-config 2.9.0-7.1.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#! /bin/sh

set -e

. /usr/share/debconf/confmodule

CONFDIR=/etc/fonts/conf.d

hinting_type="Native"

unhinted_2_3="10-debconf-unhinted.conf"
unhinted_2_4="10-unhinted.conf"
autohint_2_3="10-debconf-autohint.conf"
autohint_2_4="10-autohint.conf"

if [ -h $CONFDIR/$unhinted_2_4 -o -h $CONFDIR/$unhinted_2_3 ]; then
        hinting_type="None"
fi
if [ -h $CONFDIR/$autohint_2_4 -o -h $CONFDIR/$autohint_2_3 ]; then
        hinting_type="Autohinter"
fi

db_set fontconfig/hinting_type "$hinting_type"


subpixel_rendering="Automatic"

subpixel_2_3="20-debconf-sub-pixel.conf"
subpixel_2_4="10-sub-pixel-rgb.conf"
no_subpixel_2_3="20-debconf-no-sub-pixel.conf"
no_subpixel_2_4="10-no-sub-pixel.conf"

if [ -h $CONFDIR/$subpixel_2_4 -o -h $CONFDIR/$subpixel_2_3 ]; then
        subpixel_rendering="Always"
fi

if [ -h $CONFDIR/$no_subpixel_2_4 -o -h $CONFDIR/$no_subpixel_2_3 ]; then
        subpixel_rendering="Never"
fi

db_set fontconfig/subpixel_rendering "$subpixel_rendering"


enable_bitmaps="dunno"

yes_bitmaps_2_3="30-debconf-yes-bitmaps.conf"
yes_bitmaps_2_4="70-yes-bitmaps.conf"
no_bitmaps_2_3="30-debconf-no-bitmaps.conf"
no_bitmaps_2_4="70-no-bitmaps.conf"

if [ -h $CONFDIR/$yes_bitmaps_2_4 -o -h $CONFDIR/$yes_bitmaps_2_3 ]; then
        enable_bitmaps="true"
fi

if [ -h $CONFDIR/$no_bitmaps_2_4 -o -h $CONFDIR/$no_bitmaps_2_3 ]; then
        enable_bitmaps="false"
fi

# Versions prior to 2.6.0-2 are broken and leave us with no symbolic 
# link, so we have to re-ask the user his choice :(
if [ "$enable_bitmaps" = "dunno" ]; then
	db_fset fontconfig/enable_bitmaps seen false
	enable_bitmaps="false"
fi
db_set fontconfig/enable_bitmaps "$enable_bitmaps"

db_input low fontconfig/hinting_type || true
db_input low fontconfig/subpixel_rendering || true
db_input low fontconfig/enable_bitmaps || true
db_go