My company provides a pdflatex template for documents I edit. In particular, certain headings use a font that Adobe Reader calls URWGroteskT-Bold
. That effect is produced as follows (standalone document that can be compiled by pdflatex
):
\documentclass{standalone}
\usepackage[utf8]{inputenc}
\newcommand{\fontcommand}[1]{{\fontfamily{ugq}\selectfont #1}} % command taken from company's style sheet, not sure what it actually does
\begin{document}
\fontcommand{The quick brown fox jumps over the lazy dog.}
\end{document}
I wish to reproduce the same behaviour while compiling with lualatex
. Having read How do I use a particular font for a small section of text in my document? I tried as follows:
\documentclass{standalone}
\usepackage{fontspec}
\newfontfamily\specialfont{Grotesk T}
\begin{document}
{\specialfont The quick brown fox jumps over the lazy dog.}
\end{document}
which fails because ! Package fontspec Error: The font "GroteskT" cannot be found.
I think I tried all possible variants of font name (Grotesk/Grotesque, with or without T, with or without URW, etc.)
I believe this is due to the fact that the font is not installed at the OS level, but:
- where does pdflatex fetch the files it uses for the font?
- is it possible to force lualatex to fetch the same files, and how?
.pfb
and.afm
files contained in TeX Live, FontForge can produce an OpenType file.