Cool idea. [SIGH. I had my reply all ready to send, and then skimmed through the patch and discovered that much of it was unnecessary -- the code already does that.... :) ] The environmental TMPDIR is often used to suggest a tmp directory, but fontconfig should probably also look for its own env. Perhaps FC_TMPDIR first, then TMPDIR, then /tmp. It already has at least FC_DEBUG, so FC_TMPDIR -- or FC_TMP -- is a reasonable extension. Another possibility is to replicate the idea of ~/.fonts.conf and ~/.fonts by using ~/.fonts.mmap. If that is not writeable then you'll either have to fall back to TMPDIR and /tmp, or fall back to not using an mmap file. -JimC -- James H. Cloos, Jr. <cloos@xxxxxxxxxxx>