# Emoji Characters

I'm trying to display Emoji Characters inside my XeLaTeX Document. It seems to work for some glyphs like the numbers and pound sign but not for all. Here is a MWE:

\documentclass{scrartcl}
\usepackage{fontspec}

\setmainfont{Apple Color Emoji} % The emoji Font

\begin{document}
\char"0030{}  %Works
\char"1F60D{} % Doesent Work should out put SMILEY FACE WITH HEART SHAPED EYES
\end{document}


What is the reason for this strange behavior and is there a way to include Emojis in XeLaTeX?

Edit:

It seems the Character is there. It is selectable but not visible. I can copy&paste it.

-
How doesn't it work? Fails to compile? Wrong glyph? No glyph? Are there error messages in the .log file that would help us? –  Seamus Dec 27 '12 at 13:48
–  Claudio Fiandrino Dec 27 '12 at 13:56
@Seamus It does compile without any warnings beside the LaTeX warning: "xparse/redefine-command". It is just that the glyph is not there. The first one (an zero) is there but there is no smiley face. –  lemen Dec 27 '12 at 13:59
add comment

## 1 Answer

Apple's emoji aren't encoded as normal characters do. They are in fact some PNG-like images embedded in some proprietary table in the AppleEmoji font. There is no reason to ever expect support of this Apple(tm) feature in XeLaTeX.

You might try to google if someone has found a way to export the smileys as separate images and import them in your document.

Or you might try an alternative based on other fonts that properly encode the characters as vector glyphs.

-
add comment