[Tex/LaTex] How to pick a specific symbol from a specific font

luatexsymbols

Using LuaLatex, I need two very specific symbols from two very specific fonts, namely from the ZapfDingbats and the WingDings font.

I understand how I could use the fontspec package to set those fonts as standard fonts for my document. But for obvious reasons, I don't want that.

How do I pick a specific symbol from a specific font (with LuaLatex)?

While still using PDFLatex, I used the pifont package to get the Dingbats character:

\documentclass{article}
\usepackage{pifont}
\begin{document}
\ding{113}
\end{document}

Doesn't work for WingDings, though, which is why I switched to LuaLatex. However, not only did I understand that using such "font packages" is deprecated with LuaLatex, but I also don't have a clue how I'd go about picking a specific symbol from the WingDings font…

Best Answer

\documentclass{article}
\usepackage{fontspec}
\newfontfamily\wingdingsfont{Wingdings}
\newcommand\wingdings[1]{{\wingdingsfont\symbol{#1}}}
\usepackage{fonttable}

\begin{document}
\wingdings{40} 123-4567-8900

\fonttable{Wingdings}
\end{document}
Related Question