Re: Pregenerate fontconfig cache

Guillermo Rodriguez Garcia <[email protected]>
Newsgroups gmane.comp.fonts.fontconfig
Message-ID <CABDcavYgA2Vh42fTOJSeWNHWiPbVhvrjsVU6_0_ZBdbAkdNVWw@mail.gmail.com>
Hi James,

2016-08-19 16:30 GMT+02:00 James Cloos <[email protected]>:
>>>>>> "GRG" == Guillermo Rodriguez Garcia <[email protected]> writes:
>
> GRG> However when I install this rootfs image to the target system, on
> GRG> first boot the pregenerated cache files are ignored, and the cache
> GRG> files are regenerated again from scratch.
>
> It would probably be easiest for you to edit the fontconfig src you
> compile for the embedded system.  You can skip the regen code entirely.

Indeed this seems to be the best option. I found and adapted a patch
that solves a similar problem [1].

I am surprised that this issue is not causing trouble for other
people. I'd say that on embedded systems (especially if the root file
system is read only) this would be a common problem.

 [1]: https://github.com/openwebos/meta-webos/blob/master/recipes-graphics/fontconfig/fontconfig/Add-ignore-mtime-option-to-fc-cache.patch

Best,

Guillermo Rodriguez Garcia
[email protected]
_______________________________________________
Fontconfig mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/fontconfig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.