Quotes look odd in XeLaTeX

Asked by Dimitri John Ledkov on 2010-07-09

Sample Glyphs:



The curved quotes get rendered correctly in the fonttest tool, but look odd in XeLaTeX.

UA String:

Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.460.0 Safari/534.3

Question information

English Edit question
Ubuntu Font Family Edit question
No assignee Edit question
Solved by:
Dimitri John Ledkov
Last query:
Last reply:

This question was originally filed as bug #603569.

Dimitri John Ledkov (xnox) said : #1
Dimitri John Ledkov (xnox) said : #2

Process with XeLaTeX

Paul Sladen (sladen) said : #3

They have not been translated by TeX... what's in the PDF are the original Grave and Apostrophe used in the source.

Initially I thought this might be because the appropriate glyphs were missing, but 0x201c/0x201d are present in the font (although perhaps not correct for some reason)...

Tobias Wolf (towolf) said : #4

Paul is right. The example file is missing this line:


Only then will fontspec enable the magic character replacement of `` and ''. That it works for the top paragraph is just because that font is not routed through fontspec. It is the default cm, or ec series that TeX processes itself.

Not a bug.

Dimitri John Ledkov (xnox) said : #5

It's a user error.

Dimitri John Ledkov (xnox) said : #6

Thanks Tobias Wolf that solved my problem.