[linux] fontconfig and it's cache files

Boris Samorodov bsam at ipt.ru
Wed May 13 07:22:34 UTC 2009


On Wed, 13 May 2009 08:48:32 +0200 Alexander Leidinger wrote:
> Quoting Boris Samorodov <bsam at ipt.ru> (from Tue, 12 May 2009 16:22:25 +0400):

> > It seems to me that the best way to go is to populate
> > $LINUXBASE/var/cache when installing linux fontconfig
> > and remove it when deinstalling. As for -f10- linux
> > ports we may use a native fontconfig cache files until
> > new version starts to be incompatible.
> >
> > What do you think?

> Running the linux fc-config is not a clean solution, because it will
> not be re-run when a new font is installed.

Yea, hence the question.

> Unfortunately I have no better idea...

Would it be good to create a default fc-cache files and install
them with a port/package? We may add more fc-cache files upon
users requests.

> at least for F10 we would have the good behavior. In
> the light of the upcomming 8.0 release, I would say go ahead with this
> idea.

This will work until the fonts cache database structure changes...
And what about users of 7.x which use F8 linux ports and won't be
able to use F10 ports?

> I don't know if we should extend the fc-cache running in the font
> ports to also run the linux one if present or not. This is maybe
> something to discuss after 8.0-RELEASE is out the door.

Well, me too don't have an elegant solution. :-(


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve


More information about the freebsd-emulation mailing list