summaryrefslogtreecommitdiff
path: root/fc-cache
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2005-04-21 19:03:53 +0000
committerKeith Packard <keithp@keithp.com>2005-04-21 19:03:53 +0000
commit716ac8b8033794e2557ad567005dfff4dd95f031 (patch)
treee1aacbc691ccabf52034bca1d16bf476aec9dab8 /fc-cache
parent2ff4f0760a700bf7c6e1ed4c5072a524b02243ca (diff)
Don't force bitmap font enable in default configuration; allows users to
override this in ~/.fonts.conf Updated translations Destroy font configuration on exit to help valgrind Use own transcoding routines in preference to iconv which appears to have leaks in some translators. Call iconv_close after using iconv (oops). Prefer unicode encoding of Euro char as some fonts mis-encode Euro in other ones. Must fetch bitmap glyphs to get width values to check for monospace/dual-width fonts.
Diffstat (limited to 'fc-cache')
-rw-r--r--fc-cache/fc-cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c
index ef92535a..6fa0c5a9 100644
--- a/fc-cache/fc-cache.c
+++ b/fc-cache/fc-cache.c
@@ -296,6 +296,7 @@ main (int argc, char **argv)
* sleep(3) can't be interrupted by a signal here -- this isn't in the
* library, and there aren't any signals flying around here.
*/
+ FcConfigDestroy (config);
sleep (2);
if (verbose)
printf ("%s: %s\n", argv[0], ret ? "failed" : "succeeded");