[Fontconfig-bugs] [Bug 106618] Relocated caches not quite working
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri May 25 06:14:36 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=106618
--- Comment #26 from Alexander Larsson <alexl at redhat.com> ---
Comment on attachment 139730
--> https://bugs.freedesktop.org/attachment.cgi?id=139730
Rewrite paths in caches earlier
Review of attachment 139730:
-----------------------------------------------------------------
::: src/fcpat.c
@@ +378,5 @@
> +{
> + /* We use a value to find the cache, instead of the FcPattern object
> + * because the pattern itself may be a cache allocation if we rewrote the path,
> + * so the p may not be in the cached region. */
> + return FcPatternEltValues(&FcPatternElts (p)[0]);
This is only called for cached patterns, which I doubt are empty, and since the
elements are in order, and FILE is index 21 after things like family, style and
size I think this is unlikely to happen.
Maybe that should be documented and verified in the code though.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20180525/3cbdc2ab/attachment.html>
More information about the Fontconfig-bugs
mailing list