<div dir="ltr">I did this and now <div><br><div>   %  fc-list | grep 'CMU Concrete' | grep opentype</div><div><br></div><div>lists the four otf fonts, <br></div><div><br></div><div>but I'm still getting</div><div><br></div><div>   xdvipdfmx:fatal: Invalid font: -1 (0)<br></div><div><br></div>using xelatex.  <br><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 21, 2021 at 5:26 PM David Carlisle <<a href="mailto:d.p.carlisle@gmail.com">d.p.carlisle@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, 21 Sept 2021 at 18:30, Bob Tennent <<a href="mailto:rdtennent@gmail.com" target="_blank">rdtennent@gmail.com</a>> wrote:<br>
><br>
> David Carlisle writes<br>
><br>
> >The error here is in the font name, the Opentype Computer Modern<br>
> Concrete from the Computer Modern Unicode collection is CMU Concrete.<br>
><br>
> As far as I can tell, the "collection" referred to is the cm-unicode package.<br>
><br>
> \setmainfont{CMU Concrete}<br>
><br>
> works with lualatex but apparently not with xelatex.  It might help if we used the<br>
> file name of the otf font rather than the font name!<br>
><br>
> Bob T.<br>
><br>
<br>
It works with xelatex but to find texlive fonts by font name xetex<br>
needs the font directories to be added to the fontconfig configuration<br>
texlive supplies a fontconfig file for that purpose installed at<br>
/usr/local/texlive/2021/texmf-var/fonts/conf/texlive-fontconfig.conf<br>
or equivalent place but it is not added to the fontconfig by default<br>
you need to do that post install<br>
<br>
it contains<br>
<br>
<?xml version="1.0"?><br>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"><br>
<fontconfig><br>
  <dir>/usr/local/texlive/2021/texmf-dist/fonts/opentype</dir><br>
  <dir>/usr/local/texlive/2021/texmf-dist/fonts/truetype</dir><br>
  <dir>/usr/local/texlive/2021/texmf-dist/fonts/type1</dir><br>
</fontconfig><br>
<br>
(although I'd recommend not including the type1 line)<br>
<br>
<br>
see section 3.4.4 of the texlive manual.<br>
<br>
David<br>
</blockquote></div>