Re: Next steps for a reproducible Fontconfig?

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

 



Ah, thank you for catching this up. I fixed similar case before but
missed the case for sub directories. fixed.

On Wed, Apr 3, 2019 at 10:01 PM Alexander Larsson
<alexander.larsson@xxxxxxxxx> wrote:
>
> On Tue, Apr 2, 2019 at 2:35 PM Akira TAGOH <akira@xxxxxxxxx> wrote:
> >
> > Thanks for testing, Alex.
>
> Doing some more testing, and I think I have found an issue.
>
> On the host i regenerate caches with your branch, getting FC_DEBUG=16
> output (among other output):
>
>   cache: /6ba42ae0000f58711b5caaf10d690066-le64.cache-7 (dir:
> /usr/share/fonts/cantarell, salt: (null))
>   cache: /6ba42ae0000f58711b5caaf10d690066-le64.cache-7 (dir:
> /usr/share/fonts/cantarell, salt: (null))
>   charsets 5 -> 1 leaves 75 -> 15
>   cache: /6ba42ae0000f58711b5caaf10d690066-le64.cache-7 (dir:
> /usr/share/fonts/cantarell, salt: (null))
>
> In the flatpak-generated config in the sandbox have:
>     <remap-dir as-path="/usr/share/fonts">/run/host/fonts</remap-dir>
>     <dir>/run/host/fonts</dir>
>
> Then, running fc-list in the sandbox prints:
>
>   cache: /85bba0c73358da0b93a259c9d2b16b14-le64.cache-7 (dir:
> /run/host/fonts/cantarell (mapped to /usr/share/fonts//cantarell),
> salt: (null))
>   cache: /85bba0c73358da0b93a259c9d2b16b14-le64.cache-7 (dir:
> /run/host/fonts/cantarell (mapped to /usr/share/fonts//cantarell),
> salt: (null))
>   charsets 5 -> 1 leaves 75 -> 15
>   cache: /85bba0c73358da0b93a259c9d2b16b14-le64.cache-7 (dir:
> /run/host/fonts/cantarell (mapped to /usr/share/fonts//cantarell),
> salt: (null))
>   FcDirCacheWriteDir dir "/run/host/fonts/cantarell" file
> "/home/alex/.var/app/org.gnome.eog/cache/fontconfig//85bba0c73358da0b93a259c9d2b16b14-le64.cache-7"
>
> Note how these get different checksums, meaning that the host cache is
> not used. I think this is due to the double-slash in "mapped to
> /usr/share/fonts//cantarell".



-- 
Akira TAGOH
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/fontconfig




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

  Powered by Linux