On Tuesday 28 February 2012 14:57:20 Mel Flynn wrote:
> So the unexec is executed before the font is removed? The unexec 
makes
> sense if executed after the .ttf is removed.

I think it's executed *after* fonts removal.

> The cache should be updated
> then and if a directory tree is used by multiple ports this should
> effectively remove only the uninstalled font from the cache, while
> preserving the other fonts. So the unexec should be there for this case:
> 
> ./TTF/myport.ttf
> ./TTF/otherport/otherport.ttf

I've tried running `fc-cache -sv` on an empty font directory, but the cache 
wasn't updated (grepping /var/db/fontconfig for the file name returned a 
result, and running `fc-cache -v` with no directories removed that matching 
cache file), so I fail to see any effect of this invocation.

About all other things, I'm writing a patch for bsd.xorg.mk which I'll show 
you later.
-- 
Alberto Villa, FreeBSD committer <[email protected]>
http://people.FreeBSD.org/~avilla

The great nations have always acted like gangsters and the small nations
like prostitutes.
                -- Stanley Kubrick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to