Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question
    
Could we have a clue as to your OS and where you've installed the font. –  Joseph Wright Nov 22 '10 at 21:27
    
openSUSE 11.3 and I've installed xetex from the TeXlife 2010 CD. –  Aaron Digulla Nov 23 '10 at 10:14
add comment

2 Answers

up vote 3 down vote accepted

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

share|improve this answer
    
That works, thanks. –  Aaron Digulla Nov 23 '10 at 19:33
add comment

Open the font with font viewer such as gfontview, is the font name in the correct format?

Ensure that the font by this (correct) name is accessible in other program such as open office!

share|improve this answer
    
What "font manager" are you talking about? –  Aaron Digulla Feb 13 '11 at 17:10
    
@Aaron: I mean a font viewer such as gfontview, which show the correct font name on up right hand side of its window. –  hassan_noori Feb 14 '11 at 11:30
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.