TrueType Font fatal error

I am trying to use the tolkienfonts package.

I followed what was written in the package documentation for installing it, but I cannot make it work. This is a minimal example:

\documentclass[12pt]{report}
\usepackage{geometry}
\geometry{letterpaper}
\usepackage{graphicx}

\usepackage{tolkienfonts}
\pdfmapfile{+tolkien.map}

\begin{document}
\Quenya{Test.}
\end{document}


which gets one fatal error and several warnings.

The warnings are all similar to

pdfTeX warning: /usr/texbin/pdflatex (file /Users/username/Library/texmf/fonts/map/
tolkien.map): fontmap entry for TengwarA' already exists, duplicates ignored


but with a different name (e.g. TengwarAA, TengwarAAi, TengwarAAb and so on). If I remove the line \pdfmapfile{+tolkien.map}, they disappear. However, it was written in the package documentation to add this line, which is confusing.

Question 1: Why this happens and how can it be solved?

The second question regards the single fatal error

!pdfTeX error: /usr/texbin/pdflatex (file tngan.ttf): cannot open TrueType font
==> Fatal error occurred, no output PDF file produced!


Question 2: How can I resolve this?

Note that this fatal error happens even if I remove the line \pdfmapfile{+tolkien.map}.

I wrote two questions just to be more explicit and highlight some aspects, but they are not really different, as they are related to the same fundamental issue: how can I make this package work?

P.S. I use TeXShop, version 3.89.

• TeXShop has notthing to so with this, this is a LaTeX matter, not an editor matter. Did you manually install the fonts? Where? Did you update the filename database afterwards? – daleif Nov 14 '17 at 10:33
• Ok, one question at a time. The package came with some fonts already in it. Outside of the package, I installed only the Tengwar Eldamar font and the Tengwar Eldamar Alt font simply by double clicking on it, which opened the OS X app for fonts. I left the files themselves where I downloaded them. I don't understand your last question. – PseudoRandom Nov 14 '17 at 10:39
• The answer to your last question is probably "no". – PseudoRandom Nov 14 '17 at 10:51
• If you installed the font into Mac OS X, then pdflatex cannot find. It only knows fonts from within the LaTeX installations. You'd probably need to use xelatex or lualatex in order to use Mac OS X system installed fonts. – daleif Nov 14 '17 at 10:57
• By compiling with LuaLaTeX, I get the following error: !LuaTeX error: cannot find TrueType font file for reading (tngan.ttf). It appears this 'tngan.ttf' isn't between the package files nor the font I installed. – PseudoRandom Nov 14 '17 at 11:12

The solution I used is based on this answer, which clearly explains why you should never use updmap or similar shenanigans. The package documentation of tolkienfonts suggests to use that, but you must undo this passage (as explained in the answer), since it creates all sorts of unwanted behaviours.
• Step 0: Assume that your folder with LaTeX files is called tolkientest
• Step 1: Download the tngwar.ttf file and install it by double click
• Step 2: Move the tngwar.ttf file in the folder tolkientest
• Step 3: Add \usepackage{tolkienfonts} and \pdfmapfile{+tolkien.map} in the preamble
Clearly, this is a solution only for the specific file tngwar.ttf. As the package documentation is silent on the actual names of the files that you need to download (it only generically says you need to download Tengwar fonts, without explicitly giving you the specific name tngwar.ttf`, which is the real thing you need), it may arise the need to repeat this procedure when a new font is needed.