<p>Hello,<br /><br />This is my first post in this group.<br /><br />I have installed TexLive in Dec last year; that is the ver. "tlmgr revision 57119 (2020-12-13 00:40:00 +0100)". I also run Ubuntu 20.04.<br /><br />According to "<em>3.4.4 System font configuration for XeTeX and LuaTeX</em>" on "<strong>The TeX Live Guide—2020</strong>", we are supposed to add a font file "<span style="font-family: 'courier new', courier, monospace;">texlive/2020/texmf-var/fonts/conf/texlive-fontconfig.conf</span>" to "<span style="font-family: 'courier new', courier, monospace;">/etc/fonts/conf.d/</span>" and rename it as "<span style="font-family: 'courier new', courier, monospace;">09-texlive.conf</span>". I simply the file to its source.<br /><br />It turns out after doing so, I have started having issues with `snap` and `fontconfig`. I have currently snap 2.48.2 and snapd 2.48.2 installed. The errors are following:</p>
<p> </p>
<p><span style="font-family: 'courier new', courier, monospace;">error: cannot perform the following tasks:</span><br /><span style="font-family: 'courier new', courier, monospace;">- Run configure hook of "zoom-client" snap if present (run hook "configure":</span><br /><span style="font-family: 'courier new', courier, monospace;">-----</span><br /><span style="font-family: 'courier new', courier, monospace;">Fontconfig warning: "/etc/fonts/fonts.conf", line 5: unknown element "its:rules"</span><br /><span style="font-family: 'courier new', courier, monospace;">Fontconfig warning: "/etc/fonts/fonts.conf", line 6: unknown element "its:translateRule"</span><br /><span style="font-family: 'courier new', courier, monospace;">Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'translate'</span><br /><span style="font-family: 'courier new', courier, monospace;">Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'selector'</span><br /><span style="font-family: 'courier new', courier, monospace;">Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'xmlns:its'</span><br /><span style="font-family: 'courier new', courier, monospace;">Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'version'</span><br /><span style="font-family: 'courier new', courier, monospace;">Fontconfig warning: "/etc/fonts/fonts.conf", line 9: unknown element "description"</span><br /><span style="font-family: 'courier new', courier, monospace;">-----)</span></p>
<p> </p>
<p>This is only one application but errors are caused by any application which need to be installed or refreshed by snap. If I remove "09-texlive.conf" and re-cache all fonts:</p>
<p><br /><span style="font-family: 'courier new', courier, monospace;">rm -f ~/.cache/fontconfig/*</span><br /><span style="font-family: 'courier new', courier, monospace;">sudo rm -f /var/cache/fontconfig/*</span><br /><span style="font-family: 'courier new', courier, monospace;">sudo fc-cache -rv</span><br /><br /></p>
<p> </p>
<p>snap gets working again.</p>
<p> </p>
<p>Is it possible that the font I have mentioned is not compatible with the new version of fontconfig? Ubuntu 20.04 has updated the library to the following:</p>
<p> </p>
<p> </p>
<p>$ dpkg -l | grep fontconfig</p>
<p><span style="font-family: 'courier new', courier, monospace;">ii fontconfig 2.13.1-2ubuntu3 amd64 generic font configuration library - support binaries</span><br /><span style="font-family: 'courier new', courier, monospace;">ii fontconfig-config 2.13.1-2ubuntu3 all generic font configuration library - configuration</span><br /><span style="font-family: 'courier new', courier, monospace;">ii libfontconfig1:amd64 2.13.1-2ubuntu3 amd64 generic font configuration library - runtime</span></p>
<p> </p>
<p>Thanks</p>