Bug 106497

Summary: better error description when problem reading font configuration
Product: fontconfig Reporter: jrv <freedesktop.org>
Component: libraryAssignee: fontconfig-bugs
Status: RESOLVED FIXED QA Contact: Behdad Esfahbod <freedesktop>
Severity: minor    
Priority: medium CC: akira
Version: 2.12   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description jrv 2018-05-13 02:02:44 UTC
Version is actually 2.13, from debian testing, but that is not an option

Several programs (in particular, thunar and fc-cache) that use the library generated errors:
  "Fontconfig error: failed reading config file"

This was repeated five times. It turned out that some font install had put five subdirectories under /etc/fonts/conf.available. That install had put its .conf files in those subdirectories (as well as a misnamed .conf file in /etc/fonts/conf.available). The primary failure was in that other install, of course, but it would have been helpful if the error message from Fontconfig had included more information. At the very least including the name of the .conf file (including the full path if possible) would have helped give me a head start in solving the problem.
Comment 1 Akira TAGOH 2018-05-13 05:51:26 UTC
thanks. fixed in git cfb21c7

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.