How can I Use the Wingdings symbol? [duplicate]

Does somebody know how can I use Wingdings symbol ?

This code doesn't work :

\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}


• Did you do a search on this site? tex.stackexchange.com/a/38404/828 seems to do exactly what you want. – Habi Sep 24 '14 at 9:55
• You should tell us more details about your system, software versions and compilation method, because your code compiles correctly here on my system. – Sverre Sep 24 '14 at 11:48
• OK. Thanks. I'm using Ubuntu, and xelatex with Sublim Text. – Terriguest Sep 24 '14 at 11:55
• 'It does not work' is not at all informative. The link you posted does not expand on that comment. (Is the idea that you tried the package earlier after finding that blog?) 'I didn't manage to install the package' is only slightly more informative. This could mean anything - your computer exploded, the phone rang, you ran out of disk space, you couldn't find the keyboard... [I've never used that package. I do use Wingding but my config seems to involve 3 different Wingding fonts and I'm pretty sure I just installed them myself. So I'm not claiming the package does work but we need info.] – cfr Sep 26 '14 at 2:42
• I'm afraid that would not have helped. I generated the support files required for the version of Wingdings I have. But those support files would not help you as you have a different version. I only mentioned it as evidence that it is possible to use the truetype version of the font with (pdf)TeX. However, in light of the request in your answer to this question, I will be sure to check that a question is not yours before answering in the future. – cfr Sep 28 '14 at 14:20