# Linux Libertine Initials break emph

Loading the Linux Libertine Initials font breaks the emph command, even if the font is not used:

\documentclass{scrartcl}

\usepackage{fontspec}
\usepackage{xunicode}
\setmainfont[Mapping=tex-text]{Linux Libertine O}
\newfontfamily\lettrinefont{Linux Libertine Initials O}

\begin{document}

This is a test with \emph{emphasis}.

\end{document}


gives

Is this known? How can it be prevented (other than redefining emph to use Linux Libertine Slanted)?

• You should mention that you use/this needs XeLaTeX. Jun 29, 2011 at 21:28
• Doesn't happen to me. I suspect that different fonts are used from XeTeX and xdvipdfmx. Jun 29, 2011 at 21:31
• Funny, I have the full TeXLive 2010 installation but the font is not included. How did you installed it exactly? Jun 29, 2011 at 21:35
• @Raphink: This is 'works for me' with a fresh Linux Libertine download. Either the font or TeX system is suspect: perhaps a \listfiles output plus version information on your font would be helpful. Jun 29, 2011 at 21:38
• When fonts go mad it is - as egreg mentioned - often due to multiple version of fonts. So at first check them: Put \XeTeXtracingfonts=1 at the begin of your file. Then compile in a command window with xelatex --outputdriver="xdvipdfmx -vv" file then compare carefully in log and the messages of xdvipdfmx the pathes of the fonts used. If you can't find the reason: Add also \listfiles to the .tex and show us the log-file of the compilation. Jun 30, 2011 at 7:33

Ok, I had the ttf-linux-libertine package installed, which was conflicting with my local fonts. After removing this package, all works fine!
Other ways to avoid corruption is to define the font with full path in the .tex file or remove the relevant entries in /etc/fonts.