diff options
author | Keith Packard <keithp@keithp.com> | 2005-03-03 06:20:57 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2005-03-03 06:20:57 +0000 |
commit | 683dc3c476f1ee514c252a05311efc7a97fbaee9 (patch) | |
tree | 22f8e944ae5e681509a08f91c30933cf6287375b /conf.d | |
parent | dc2e06ab0707f8e2ffd5fe5c1d2db38dd594b551 (diff) |
Move debian-specific conf file examples upstream.
Sub-pixel configuration examples must smash subpixel value as Xft always
sets it from X.
Change sub-pixel rendering debconf descriptions from Enable/Disable to
Always/Never.
Diffstat (limited to 'conf.d')
-rw-r--r-- | conf.d/Makefile.am | 7 | ||||
-rw-r--r-- | conf.d/autohint.conf | 9 | ||||
-rw-r--r-- | conf.d/no-sub-pixel.conf | 9 | ||||
-rw-r--r-- | conf.d/sub-pixel.conf | 3 | ||||
-rw-r--r-- | conf.d/unhinted.conf | 9 |
5 files changed, 32 insertions, 5 deletions
diff --git a/conf.d/Makefile.am b/conf.d/Makefile.am index 410a4184..c9cb0125 100644 --- a/conf.d/Makefile.am +++ b/conf.d/Makefile.am @@ -22,9 +22,12 @@ # PERFORMANCE OF THIS SOFTWARE. CONF_FILES = \ + autohint.conf \ no-bitmaps.conf \ - yes-bitmaps.conf \ - sub-pixel.conf + no-sub-pixel.conf \ + sub-pixel.conf \ + unhinted.conf \ + yes-bitmaps.conf EXTRA_DIST = $(CONF_FILES) diff --git a/conf.d/autohint.conf b/conf.d/autohint.conf new file mode 100644 index 00000000..5406f4ed --- /dev/null +++ b/conf.d/autohint.conf @@ -0,0 +1,9 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<!-- debian/autohint.conf --> +<fontconfig> +<!-- Use the Autohinter --> + <match target="font"> + <edit name="autohint" mode="assign"><bool>true</bool></edit> + </match> +</fontconfig> diff --git a/conf.d/no-sub-pixel.conf b/conf.d/no-sub-pixel.conf new file mode 100644 index 00000000..5d64a0b4 --- /dev/null +++ b/conf.d/no-sub-pixel.conf @@ -0,0 +1,9 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<!-- conf.d/sub-pixel.conf --> +<fontconfig> +<!-- Enable sub-pixel rendering --> + <match target="font"> + <edit name="rgba" mode="assign"><const>none</const></edit> + </match> +</fontconfig> diff --git a/conf.d/sub-pixel.conf b/conf.d/sub-pixel.conf index f3933c88..c4e8a42e 100644 --- a/conf.d/sub-pixel.conf +++ b/conf.d/sub-pixel.conf @@ -4,9 +4,6 @@ <fontconfig> <!-- Enable sub-pixel rendering --> <match target="font"> - <test qual="all" name="rgba"> - <const>unknown</const> - </test> <edit name="rgba" mode="assign"><const>rgb</const></edit> </match> </fontconfig> diff --git a/conf.d/unhinted.conf b/conf.d/unhinted.conf new file mode 100644 index 00000000..fb0b375a --- /dev/null +++ b/conf.d/unhinted.conf @@ -0,0 +1,9 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<!-- debian/unhinted.conf --> +<fontconfig> +<!-- Disable hinting --> + <match target="font"> + <edit name="hinting" mode="assign"><bool>false</bool></edit> + </match> +</fontconfig> |