<div dir="ltr">Spaces are used in the names of a lot of fonts and they do work with fontspec. For instance, all TeX Gyre fonts contain spaces in their names.<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Zdeněk Wagner<br><a href="http://ttsm.icpf.cas.cz/team/wagner.shtml" target="_blank">http://ttsm.icpf.cas.cz/team/wagner.shtml</a><br><a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a></div></div>
<br><div class="gmail_quote">2016-03-22 0:51 GMT+01:00 Ken Moffat <span dir="ltr"><<a href="mailto:zarniwhoop@ntlworld.com" target="_blank">zarniwhoop@ntlworld.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've recently installed the whole set of Noto fonts to one machine,<br>
so I thought I would take another look at trying to use them with<br>
lualatex and xelatex.<br>
<br>
If, for english text, I try to force 'NotoSans' it appears to work.<br>
But my test harness is really set up to check for font filenames in<br>
the output from fc-cache.  If I try to specify NotoSans-Regular.ttf<br>
then fontspec blows up :<br>
<br>
(/opt/texlive/2015/texmf-dist/tex/latex/fontspec/fontspec.cfg)))kpathsea:make_tex:<br>
Invalid fontname `[NotoSans-Regular.ttf]/OT', contains '['<br>
<br>
Similarly with simplified chinese :<br>
<br>
(/opt/texlive/2015/texmf-dist/tex/latex/fontspec/fontspec.cfg)))kpathsea:make_tex:<br>
Invalid fontname `[NotoSansCJKsc-Regular.otf]/OT', contains '['<br>
<br>
I cannot specify the names, e.g. in the format NotoSans CJK JP because the<br>
spaces in font names are regarded as invalid.  Using single quotes<br>
does not help, using double quotes seems to break the build anyway<br>
because I am trying to set the fonts before \begin{document}.<br>
<br>
All of my main texlive packages are built from the 2015 source, so<br>
perhaps thing have already changed.  Is this a known problem ?<br>
<br>
ĸen<br>
<span class="HOEnZb"><font color="#888888">--<br>
This email was written using 100% recycled letters.<br>
</font></span></blockquote></div><br></div>