[tex-live] (Xe)TeX Live after update: Upright font found, but not italic - Huh?

Ulrike Fischer news3 at nililand.de
Mon Dec 5 12:20:36 CET 2011


Am Mon, 5 Dec 2011 11:38:53 +0100 schrieb Wolfgang Keller:

>>> LaTeX Font Warning: Font shape `EU1/Libertine(0)/m/sl' undefined
>>> (Font)              using `EU1/Libertine(0)/m/n' instead on input
>>> line
>>> 41.
>> 
>>> Could anyone give me a hint what might be broken?
>> 
>> Such substituation messages don't mean something is broken. 
> 
> Looking at the output, there definitely _is_ something thoroughly
> broken. Not only the font shape is wrong (upright instead of italic),
> but also vertical and horizontal alignment.
> 
>> Also it doesn't say that italic (it) is not found but slshape (sl).
>> Do you actually use \slshape in your document?
> 
> No, I don't use it. Only italic:
> 
> \renewcommand*{\marginfont}{\rmfamily\itshape}
> 
> But the marginnote text is not output in italic. See the PDF.

I can't find any new versions of libertine or fontspec on CTAN. Also
the font names mentioned in your \setmainfont-command are unusual
(in the CTAN package the libertine fonts use names starting with fx,
e.g. fxlro.otf). 

On my system (current miktex 2.9) this here works fine:

\XeTeXtracingfonts=1
\documentclass[12pt]{article}
\usepackage{fontspec}
\usepackage{libertine}

\begin{document}
\slshape abc \itshape abc
\end{document}


But the libertine fonts are constantly changing (a new version of
the fonts and a new package libertineotf has been announced last
month). Without knowledge of your versions of the fonts (and how you
got and installed them) and knowledge about your version of fontspec
(log-file) it is very difficult to say what is going wrong. 

Btw: If possible don't use lyx for the tests. It complicates the
code.


-- 
Ulrike Fischer 



More information about the tex-live mailing list