[Tex/LaTex] Error in \setmainfont

errorsfontsfontspecxetex

I'm trying to follow the example on the Wikipedia page about XeTeX.
But when I run the TeX code, I get this error:

(/usr/share/texmf/tex/latex/etex-pkg/etex.sty)
(/usr/share/texmf/tex/latex/base/fixltx2e.sty))kpathsea: Invalid fontname `Linux Libertine O', contains ' '

! Font \zf@basefont="Linux Libertine O" at 10.0pt not loadable: Metric (TFM) file or installed font not found.
\zf@fontspec ...ntname \zf@suffix " at \f@size pt 
                                              \unless \ifzf@icu \zf@set@...
l.3 ...infont[Mapping=tex-text]{Linux Libertine O}

Any idea why that is? I have both the TTF files for Libertine installed and I also have the XeTeX libertine package.

[EDIT] I'm on openSUSE 11.3 and I've installed XeTeX from the TeX Live 2010 CD.

Best Answer

The TTF version of Libertine are usually named 'Linux Libertine' without the trailing ' O', so try using that name or installing the OTF version.