XeLaTex and Fontspec crash trying to find woff file for some fonts but not others

Running XeLaTex on this example results in a pdf as expected:

\documentclass[a4paper,12pt, notitlepage]{article}
\usepackage{xltxtra}
\defaultfontfeatures{Ligatures=TeX}
\setmainfont{Cabin}
\begin{document}
\footnote{text}
\end{document}


Running XeLaTex on this example does not result in a pdf:

\documentclass[a4paper,12pt, notitlepage]{article}
\usepackage{xltxtra}
\defaultfontfeatures{Ligatures=TeX}
\setmainfont{EB Garamond}
\begin{document}
\footnote{text}
\end{document}


An example without a footnote, but with body text, using EB Garamond works fine.

The trouble appears to be that the program is not finding the font for the footnote mark, i.e. the 8pt font:

xdvipdfmx:fatal: Cannot proceed without the font: /usr/share/font/woff/ebgaramond/EBGaramond08-Regular.woff

Output file removed.


It appears that the program is looking in the wrong place. The path should be

/usr/share/fonts/woff/ebgaramond/EBGaramond08-Regular.woff


Note the extra s on fonts.

So how come the program is looking in right place for everything else, including all the other Garamond fonts, but not this one?

I am using Kile on a Kubuntu 17.04 system.

• Can XeTeX use WOFF fonts to begin with? I don't think so. – egreg Sep 19 '17 at 13:45
• xelatex shouldn't use the woff font, if it is in the search path you should better use file names to avoid that they are used. See also sourceforge.net/p/xetex/bugs/139 – Ulrike Fischer Sep 19 '17 at 13:48
• I see. Well it is certainly trying to do so, and it seems to be the same problem as reported in that bug report, for which thanks. So the solution is probably as you say to specify file paths, which is a bit of a pain, but OK. – Quiddity Sep 19 '17 at 14:13