[Tex/LaTex] Font Awesome Skype icon doesn’t work with moderncv

fontawesomemoderncvxetex

I am using MiKTeX 2.9 and XeLaTeX. Here is my minimal working example:

\documentclass[11pt,a4paper,roman,english]{moderncv}
\moderncvstyle{classic}
\moderncvcolor{blue}
\usepackage[scale=0.75,a4paper]{geometry}
\usepackage{xunicode}
\usepackage{xltxtra}
\setmainfont[Mapping=tex-text]{Times New Roman}
\newfontfamily{\cyrillicfonttt}{Courier New}
\usepackage{polyglossia}
\setmainlanguage[babelshorthands=true]{russian}
\setotherlanguage[variant=us]{english}

\usepackage{fontawesome}
\newfontfamily{\FA}{FontAwesome}
\newcommand\faSkype{{\FA\symbol{"F17E}}}

\firstname{John}
\familyname{Smith}
\title{TeX writer}
\extrainfo{\faSkype~ myskypelogin}

\begin{document}
\makecvtitle
\end{document}

Skype Font Awesome symbol has been created like in this question. But for some strange reason it doen't work properly:
result

What am I doing wrong? I have tried to replace "F17E with "F117 and it worked just fine.

Best Answer

The font FontAwesome.otf in TeX Live (January 2014) has version 3.1.0:

$ otfinfo --font-version $(kpsewhich FontAwesome.otf)
Version 3.1.0 2013

However icons.yml shows that the glyph Skype was created in version 3.2:

- name:       Skype
  id:         skype
  unicode:    f17e
  created:    3.2
  categories:
    - Brand Icons

The current version of FontAwesome is 4.0.3. It can be downloaded from the project home page.

Then the following LaTeX code should do:

\usepackage{fontawesome}
\providecommand\faSkype{{\FA\symbol{"F17E}}}

Which font file is found by XeTeX?

XeTeX writes an extended DVI format that is converted by xdvipdfmx to PDF. If the latter program gets option -v (be verbose), then it prints the location of the font files that are used by it. Options can be passed to xdvipdfmx via option -output-driver of XeTeX:

xelatex "-output-driver=xdvipdfmx -v" test

Then the found font file with path is printed on the console.