summaryrefslogtreecommitdiffstats
path: root/rules/fontconfig.in
diff options
context:
space:
mode:
authorErwin Rol <erwin@erwinrol.com>2010-01-22 13:04:11 +0100
committerErwin Rol <erwin@erwinrol.com>2010-02-01 13:57:55 +0100
commitd3f2416a857f5b6f87ae5b14c727a56f4e8c9061 (patch)
tree873278ac15c9d68b3996680c63106d00208e17ae /rules/fontconfig.in
parent3fcb71f21b1cbfb3d4e15983371645658361638f (diff)
downloadptxdist-d3f2416a857f5b6f87ae5b14c727a56f4e8c9061.tar.gz
ptxdist-d3f2416a857f5b6f87ae5b14c727a56f4e8c9061.tar.xz
[fontconfig] Add custom fonts.conf option
Add custom fonts.conf option via the alternatives mechanism. Add menu option to instell fonts.dtd file Signed-off-by: Erwin Rol <erwin@erwinrol.com>
Diffstat (limited to 'rules/fontconfig.in')
-rw-r--r--rules/fontconfig.in31
1 files changed, 27 insertions, 4 deletions
diff --git a/rules/fontconfig.in b/rules/fontconfig.in
index dbb716c09..fe84f2f3b 100644
--- a/rules/fontconfig.in
+++ b/rules/fontconfig.in
@@ -34,11 +34,34 @@ config FONTCONFIG_UTILS
builds font information cache files for applications
using fontconfig for their font handling.
-config FONTCONFIG_CONFS
- bool "install configuration files for Fontconfig"
+config FONTCONFIG_DTD
+ bool "install DTD file for Fontconfig"
default y
help
- This installs configuration files of fontconfig,
- subpixeling is turned on by default
+ This installs the fonts.dtd file.
+
+choice
+ prompt "install configuration files for Fontconfig"
+ default FONTCONFIG_CONFS_DEFAULT
+
+ config FONTCONFIG_CONFS_NONE
+ bool "don't install config file"
+ help
+ Choose this if you don't want to install
+ a fonts.conf file.
+
+ config FONTCONFIG_CONFS_DEFAULT
+ bool "default config"
+ help
+ This installs a default fonts.conf file of fontconfig,
+ subpixeling is turned on by default.
+
+ config FONTCONFIG_CONFS_CUSTOM
+ bool "custom config"
+ help
+ This installs a custom fonts.conf file of fontconfig.
+
+endchoice
endif
+