Re: [patch]: mmapping FontConfig data structures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've incorporated TMPDIR.  ~/.fonts.conf and ~/.fonts seem to be defined
in the global fonts.conf file, not hardcoded, so I've avoided that for
now.  The new patch is at

http://plam.csail.mit.edu/~plam/tmp/fontconfig-050609-tmpdir.diff

pat

James Cloos wrote:
> 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


[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux