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?
{Dalelands Unical}part. – Sverre Nov 22 '14 at 17:16luaotfload-tool --updatemight be necessary – MaxNoe Nov 22 '14 at 17:51luaotfload-tool --updateand I still get the same error. – Martyn Quick Nov 22 '14 at 18:08luaotfload-tool --fuzzy --find=DalelandsUncialreturn anything? In the past I have found that XeTeX and LuaTeX expect different names for the same font. Does the file name match the 'internal' name? Try, e.g.,otfinfo -i <fontfile>.otf– jon Nov 22 '14 at 18:31~/Library/Fonts. Your document, after removingPath=...andExtension=...compiles without problems (LuaTeX triggers a run ofluaotfload-toolthe first time). – egreg Nov 22 '14 at 18:36luaotfload-tool --fuzzy --find=DalelandsUncial, it claims it can find the file, but refers to a directory that I first tried putting it in, before I came across the above answer that I linked to. This folder doesn't even exist any longer, so I guess I need to do some updating of the database? I've triedsudo luaotfload-tool -f -ubut that doesn't seem to have made any difference. – Martyn Quick Nov 22 '14 at 18:51~/Library/Fontsand then removed the original file.luaotfload-toolcan't find it. My conclusion is that this is not searching my Fonts folder. How do I tell it to look here? (And how do I diagnose where it actually is looking?) – Martyn Quick Nov 22 '14 at 19:29XeLaTeX, and same problem withLuaLaTeX. – Bernard Nov 22 '14 at 22:19