When deprecating a config include -> force ignore_missing to be set to true. This gives the user the opportunity to fix the inclusion of deprecated config directories/files by removing them without getting error messages about missing directories. --- src/fcxml.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/fcxml.c b/src/fcxml.c index a146068..d7d917f 100644 --- a/src/fcxml.c +++ b/src/fcxml.c @@ -2056,7 +2056,10 @@ FcParseInclude (FcConfigParse *parse) ignore_missing = FcTrue; attr = FcConfigGetAttribute (parse, "deprecated"); if (attr && FcConfigLexBool (parse, (FcChar8 *) attr) == FcTrue) + { deprecated = FcTrue; + ignore_missing = FcTrue; + } attr = FcConfigGetAttribute (parse, "prefix"); if (attr && FcStrCmp (attr, (const FcChar8 *)"xdg") == 0) prefix = FcConfigXdgConfigHome (); -- 1.7.5.2 _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig