[Tex/LaTex] Installing a .otf font and using it with fontspec (LuaLaTeX on a Mac)

fontsfontspec

I've downloaded an .otf font (specifically one called Dalelands Uncial) that I would like to use in a document. I've double-clicked on the file and selected install, so that it now sits in my ~/Library/Fonts folder on my Mac and Font Book claims the file is installed.

I thought that running LuaLaTeX on the following minimal example would now allow me to access the font, but it doesn't work.

\documentclass{article}
\usepackage{fontspec}
\setmainfont[
    Path = /Users/<myname>/Library/Fonts,
    Extension = .otf,
    Ligatures = TeX
]{Dalelands Uncial}
\begin{document}
Some sample text.
\end{document}

(This is my attempt to replicate what is suggested in the first answer to this question.)

I'm told that "DalelandsUncial" cannot be found. Is it the space in the name causing a problem?

Best Answer

With further experimentation, I have now found an answer that works for TeXlive as installed on my machine. I have no idea why this one works for me, but the one that works for @egreg does not.

It turns out that all I needed to do was put the .otf files in a subdirectory of ~/Library/texlive/2014/texmf-var/fonts and they can then be found by LuaLaTeX.