On 2016-02-20, Guenter Milde wrote:
> On 2016-02-20, Kornel Benko wrote:
>> Am Samstag, 20. Februar 2016 um 16:34:50, schrieb Guenter Milde 
>> <mi...@users.sf.net>

Dear Kornel, 

I hope to have solved the "XeTeX + Awesome" mystery:

>>> >> >> Strange: It works here, both "per hand" and via ctest...

>>> >> > I installed fonts-font-awesome, now the font is found. 

>>> I can't see where font Awesome is loaded - the font selectiong GUI
>>> shows all is set to "default". This seems to be some internal font
>>> setting of the modernCV package (or its style options). Nothing to
>>> blame the document edits.

OK, now I see it is loaded in the tex output -- however, this is due to the
line

#  
\DeclareLaTeXClass[moderncv,ebgaramond.sty,fancyhdr.sty,fontawesome.sty,ifpdf.sty,marvosym.sty]{Modern
 CV}

in moderncv.layout.

The edit of the example "unearthed" a dependency problem with moderncv.layout
that can occure when

* compiling with XeTeX,
* fonts awesome installed for LaTeX but not declared a system font. 

See answer 2 in 
http://tex.stackexchange.com/questions/132888/fontawesome-font-not-found


>>> >> > But there are still missing glyphs.
...
>>> > Output of xelatex (system font + tex font):
>>> > Missing character: There is no  in font FontAwesome/OT!

> Do you mean the literal character between "no" and "in font"?

> My editor says this is:

> Character '' (61868, 0xF1AC)

> which is in:

> @@    E000    Private Use Area        F8FF
> @+            This range of 6400 code points is dedicated to private use.

It is actually a non-standard character in the private use area:

  Font Awesome is a free (CC-BY-3.0) icon font from GitHub, that contains
  several different icons for various purposes. It is designed for web
  usage, and thus all the characters are defined in the private unicode
  range to avoid confusing screen readers.

  -- https://coderwall.com/p/r67dyq/using-font-awesome-with-xe-latex

I am not sure whether this is a good idea, but here you are...



> However, it is not the same as the one(s) missing in LuaTeX:

Indeed, the LuaTeX problem is different, it does not depend on moderncv or
the awesome font.

Günter

Reply via email to