Summary: | lack of configuration file checking causes mysterious application crashes | ||
---|---|---|---|
Product: | fontconfig | Reporter: | Marius Gedminas <marius> |
Component: | library | Assignee: | Keith Packard <keithp> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | high | ||
Version: | 2.2 | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
URL: | http://bugzilla.gnome.org/show_bug.cgi?id=134113 | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Marius Gedminas
2004-02-25 12:32:36 UTC
Thanks for the useful bug report. I've gone ahead and added some polite typechecking to the configuration file code. With the example given, fontconfig emits the following warnings: Fontconfig warning: "~/.fonts.conf", line 139: "sans-serif" is not known boolean Fontconfig warning: "~/.fonts.conf", line 139: saw bool, expected string The first warning says that in <bool>sans-serif</bool>, the 'sans-serif' string isn't understood as a boolean value. The second warning says that "family" expects a string value, not a boolean value. Does this look reasonable to you? It's more than reasonable, thanks! |
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.