[XeTeX] Adobe Professional Fonts and Diacritics

Ulrike Fischer news3 at nililand.de
Thu Sep 10 11:11:21 CEST 2015

Am Thu, 10 Sep 2015 09:59:52 +0200 schrieb François Patte:

> This is useful to use fonts where some diacritics are missing. However
> is it possible to do the same with double diacritical marks?
> I tried this:
>  \catcode`\ṝ=\active
> \defṝ{\d{\={r}}} or \defṝ{\={\d{r}}}}
> But get only: ṛ

You need a suitable definition for \=. If the font doesn't has a
suitable accent you will have to build something. E.g this here
would work (but probably not give a good placed bar in all cases,
and it would disable kerning)

\setmainfont[Mapping=tex-text]{Minion Pro}

   {\hmode at bgroup
\o at lign{\relax#1\crcr\hidewidth\ltx at sh@ft{-1ex}.\hidewidth}\egroup}





Āāīūś  % works as expected.
ṣṇṭḍṃḥ % just crossed out boxes.



\defṝ{\d{\={r}}} ṝ or \defṝ{\={\d{r}}} ṝ


Ulrike Fischer 

More information about the XeTeX mailing list