<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I believe this issue is caused by a new behaviour in fontconfig 2.13.1, which removes .uuid file from directories containing no font files after scanned them. On my computer, because of that behaviour and interactions between xfsettingsd and fontconfig, system
 performance takes a big hit. Running Firefox is almost impossible.<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
What happens seems to start with xfsettingsd using g_file_monitor to watch font directories. When any of the font folders are changed, it gets notified and in turn tells fontconfig to rescan those directories. Now, due to the new behaviour in fontconfig 2.13.1,
 the .uuid file is deleted and the modification time is changed for those font directories containing no fonts or only symbolic links after scanned by fontconfig. Since the modification time changed, xfsettingsd gets notified and the cycle begins.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
It's possible Firefox has similar interactions with fontconfig and suffers the same performance impact.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
A patch has been committed to the master branch of fontconfig so that it doesn't remove .uuid from directories without any fonts. But, there is no binary release yet. See
<a href="https://gitlab.freedesktop.org/fontconfig/fontconfig/commit/5f12f564f8748deaa603adb7a4b8f616b6390ad4" id="LPlnk941744">
https://gitlab.freedesktop.org/fontconfig/fontconfig/commit/5f12f564f8748deaa603adb7a4b8f616b6390ad4</a><br>
</div>
</body>
</html>