[XeTeX] Trouble with the new Xetex

Heiko Oberdiek heiko.oberdiek at googlemail.com
Sun Nov 6 16:30:58 CET 2011


On Sun, Nov 06, 2011 at 11:37:08AM +0100, Peter Dyballa wrote:

> 
> Am 06.11.2011 um 02:15 schrieb Andrew Gollan:
> 
> > The Invalid glyph is
> > actually the result of a \=V in one place, but the \=y is being printed as
> > a spiral in the PDF if that is remove
> 
> V with macron does not exist in Unicode (but U with macron does, so it
> looks bad, until you invent a good macro to position the macron on the V),
> ȳ does not exist in Palatino Linotype.

And U+0304 COMBINING MACRON is missing.

But the missing glyphs can be constructed manually:

\DeclareTextCompositeCommand{\=}{EU1}{V}{%
  \leavevmode
  \begingroup
    \sbox0{^^^^012a}%
    \sbox2{^^^^02c9}%
    \sbox4{V}%
    \rlap{%
      \hbox to \wd4{%
        \hfill
        \raisebox{\dimexpr\ht0-\ht2\relax}{^^^^02c9}%
        \hfill
      }%
    }%
    V%
  \endgroup
}
\DeclareTextCompositeCommand{\=}{EU1}{y}{%
  \leavevmode
  \begingroup
    \sbox0{^^^^016b}%
    \sbox2{^^^^02c9}%
    \sbox4{y}%
    \rlap{%
      \hbox to \wd4{%
        \hfill
        \raisebox{\dimexpr\ht0-\ht2\relax}{^^^^02c9}%
        \hfill
      }%
    }%
    y%
  \endgroup
}

Yours sincerely
  Heiko Oberdiek


More information about the XeTeX mailing list