XeTeXLibertine breaks in xetex

Information and discussion about XeTeX, an alternative for pdfTeX based on e-Tex
Post Reply
joymm
Posts: 3
Joined: Wed Sep 08, 2010 5:16 pm

Libertine breaks in xetex

Post by joymm »

Hi,

I have a strange problem, using libertine with xelatex is giving junk characters as output in the pdf. Im using MikTeX 2.8, win xp, and this problem seems to have come after i installed the xelibertine package. I uninstalled it, to no effect.

am attaching both the source and the pdf. am I missing something?

TIA,
Joy
Attachments
rep.tex
(980 Bytes) Downloaded 377 times
rep.pdf
(13.79 KiB) Downloaded 320 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

joymm
Posts: 3
Joined: Wed Sep 08, 2010 5:16 pm

Re: Libertine breaks in xetex

Post by joymm »

Also, using Linux Libertine O as the main font fixes this, but no ligatures come up.
Attaching that output here as well.

Thanks,
Joy
Attachments
rep.pdf
(12.41 KiB) Downloaded 387 times
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Libertine breaks in xetex

Post by frabjous »

I'm not sure if this is the problem on your end, but one problem I've noticed for Xe(La)TeX in general is that it often gets confused when you have system fonts installed with similar names. This could happen, in particular, if you have both the true-type versions and the open-type versions of Linux Libertine installed, or if you have the open-type versions installed in multiple places (which might be, if you have xelibertine installed along side the normal fonts). I'd try to make sure you only have one version of the set installed. I think there are five fonts: the regular, the italic, the bold, the bold italic and the small caps fonts. Try to make sure you have just those five. The open type fonts (Linux Libertine O) are the highest quality.

In any case, the problem must be something with your particular set up, not with your code. If I do nothing but change the line to \setmainfont[Mapping=tex-text]{Linux Libertine O} and compile your source, I get the attached, where the ff ligature is right. (The Th ligature seems fine even in the one you posted.)
Attachments
rep.pdf
(9.7 KiB) Downloaded 391 times
joymm
Posts: 3
Joined: Wed Sep 08, 2010 5:16 pm

Re: Libertine breaks in xetex

Post by joymm »

yup, as you mentioned, there was an issue with miktex. seems like it does not do its uninstallations properly, had to manually search for anything named 'libertine' within its directories and delete them. started working after that.

Thanks,
JOy
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Libertine breaks in xetex

Post by localghost »

Now that the problem is solved, please mark the topic accordingly as described in Section 3 of the Board Rules.


Best regards and welcome to the board
Thorsten
Post Reply