[tex-live] Can Noto fonts be made to work with fontspec ?

Zdenek Wagner zdenek.wagner at gmail.com
Tue Mar 22 01:15:16 CET 2016


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.

Zdeněk Wagner
http://ttsm.icpf.cas.cz/team/wagner.shtml
http://icebearsoft.euweb.cz

2016-03-22 0:51 GMT+01:00 Ken Moffat <zarniwhoop at ntlworld.com>:

> I've recently installed the whole set of Noto fonts to one machine,
> so I thought I would take another look at trying to use them with
> lualatex and xelatex.
>
> If, for english text, I try to force 'NotoSans' it appears to work.
> But my test harness is really set up to check for font filenames in
> the output from fc-cache.  If I try to specify NotoSans-Regular.ttf
> then fontspec blows up :
>
>
> (/opt/texlive/2015/texmf-dist/tex/latex/fontspec/fontspec.cfg)))kpathsea:make_tex:
> Invalid fontname `[NotoSans-Regular.ttf]/OT', contains '['
>
> Similarly with simplified chinese :
>
>
> (/opt/texlive/2015/texmf-dist/tex/latex/fontspec/fontspec.cfg)))kpathsea:make_tex:
> Invalid fontname `[NotoSansCJKsc-Regular.otf]/OT', contains '['
>
> I cannot specify the names, e.g. in the format NotoSans CJK JP because the
> spaces in font names are regarded as invalid.  Using single quotes
> does not help, using double quotes seems to break the build anyway
> because I am trying to set the fonts before \begin{document}.
>
> All of my main texlive packages are built from the 2015 source, so
> perhaps thing have already changed.  Is this a known problem ?
>
> ĸen
> --
> This email was written using 100% recycled letters.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20160322/ceefc8a6/attachment.html>


More information about the tex-live mailing list