3

I've got the opportunity to play with a machine with some premium fonts installed. I ran some experiments with XeTeX and e.g. Palatino Linotype, which worked, but for some reason cyrillic breaks with Garamond Premier Pro. The result may be downloaded here.

UPDATE: It turns out the machine had two versions of Garamond Premier Pro installed, one of which apparently has faulty Cyrillic support even though it advertises cyrillic in otfinfo -s. I disabled this version and everything now works fine.

\documentclass[a4paper,12pt]{article}
\usepackage[MnSymbol]{mathspec}
\usepackage{xunicode,xltxtra}

\setmainfont[Mapping=tex-text,Numbers={OldStyle},Ligatures{Common},Contextuals=Alternate]{Garamond Premier Pro}

\begin{document}
Queue stop acte effet shelfful shelf{\null}ful παιδείαὫ $\pi\alpha\phi\Omega$ Черникова ---
\end{document}
  • 2
    The link is not found. What is the question here? – ipavlic May 09 '11 at 09:37
  • 2
    I would say either your font is corrupt or you have two versions. Check with \XeTeXtracingfonts/-vv option of xdvipdfmx the fonts your example use. See my answer here: http://tex.stackexchange.com/questions/15188/problem-of-doublequote-choosing-char-by-glyphs – Ulrike Fischer May 09 '11 at 10:12
  • If you have found a solution, consider adding it as an answer instead of editing the question. – Andrey Vihrov May 09 '11 at 12:32
  • 2
    This looks 'too localised' to me – Joseph Wright May 09 '11 at 13:07
  • 2
    @Joseph: While the specific fonts involved are certainly local the problem itself is rather common. Two versions of the same font (or two fonts with the same name) are the most probable cause when fonts in xetex do "funny" thing. That's why it took me only some seconds to write the answer. – Ulrike Fischer May 09 '11 at 13:15
  • Also note that otfinfo (or any similar program) merely tells us that the font "claims to have" a feature, which may be in the form of a very minimal table. For example, one font with the sups feature may have only numerals, and another one may also have ascii letters. I don't believe there is any enforced standard as to what an Open Type feature is required to include, whether or not the font has a technical problem. –  Apr 05 '17 at 16:58

2 Answers2

5

\XeTeXtracingfonts=1 helped me trace the problem. It turns out that this machine had two versions of Garamond Premier Pro installed. I disabled one (which perhaps had faulty Cyrillic support, even though it advertised it in otfinfo -s…) and now everything is ok.

Andrey Vihrov
  • 22,325
0

Well, the input works perfectly with the free ebgaramond package as well using either of xelatex or lualatex:

\documentclass{article}
\usepackage[ebgaramond]{newtx}
\begin{document}
Queue stop acte effet shelfful shelf{\null}ful παιδείαὫ
$\pi\alpha\phi\Omega$ Черникова ---
\end{document}

russian

  • The original question was asked 12 (count them, twelve) years ago. It would be nice if SE had a method for moderators to "obsolete" old questions that are no longer pertinent, I but I do not think that exists. – rallg Feb 26 '24 at 17:12