I'm trying to typeset a document using xelatex
with main font Linux Libertine. Here's the minimal working example:
\documentclass{article}
\usepackage{fontspec}
\setromanfont[
Ligatures = TeX,
BoldFont = {Linux Libertine Bold},
ItalicFont = {Linux Libertine Italic},
BoldItalicFont = {Linux Libertine Bold Italic}
]{Linux Libertine}
\begin{document}
\textit{1 foo}
\textbf{\emph{1 foo}}
\textbf{1 foo}
\end{document}
When compiled, the second and third "1 foo"s appear as they should, but the "1" is missing from the first "1 foo", like this:
It seems as though Linux Libertine does not support italic numerals.
What am I doing wrong here? Is there any way to make
xelatex
support the Linux Libertine font in a way that makes italic numerals possible?
If it helps, I'm using TeXWorks on an HP running Windows 8.1.
Edit: The only strange thing that shows up in the log file is a warning:
* LaTeX warning: "xparse/redefine-command"
*
* Redefining document command \oldstylenums with arg. spec. 'm' on line 144.
Edit 2: When I tweak the document so that the only content is \textit{0123456789}
, compilation with xelatex
fails, and the following error is output:
** WARNING ** Invalid CMap
** ERROR ** pdf_ref_obj(): passed invalid object.
Near the end of the log file, there is a bunch of warnings looking like this:
Missing character: There is no in font Linux Libertine Italic/OT:script=latn;
language=DFLT;mapping=tex-text;mapping=tex-text;!
Missing character: There is no 0 in font Linux Libertine Italic/OT:script=latn;
language=DFLT;mapping=tex-text;mapping=tex-text;!
\XeTeXtracingfonts= 1
to the document and compile withxelatex --no-pdf file
andxdvipdfmx -vv file
then inpect the log-file and the output ofxdvipdfmx
.