From d3f2416a857f5b6f87ae5b14c727a56f4e8c9061 Mon Sep 17 00:00:00 2001 From: Erwin Rol Date: Fri, 22 Jan 2010 13:04:11 +0100 Subject: [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 --- rules/fontconfig.in | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) (limited to 'rules/fontconfig.in') 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 + -- cgit v1.2.3