Bug 106497 - better error description when problem reading font configuration
Summary: better error description when problem reading font configuration
Status: RESOLVED FIXED
Alias: None
Product: fontconfig
Classification: Unclassified
Component: library (show other bugs)
Version: 2.12
Hardware: Other All
: medium minor
Assignee: fontconfig-bugs
QA Contact: Behdad Esfahbod
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-13 02:02 UTC by jrv
Modified: 2018-05-13 05:51 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.