Just without looking to the files, you main font makes use of the
mapping but inside the braces you switch to \grantha where the mapping
is not used.

Zdeněk Wagner
http://ttsm.icpf.cas.cz/team/wagner.shtml
http://icebearsoft.euweb.cz

st 17. 6. 2020 v 10:50 odesílatel François Patte
<francois.pa...@mi.parisdescartes.fr> napsal:
>
> Le 17/06/2020 à 02:38, Dominik Wujastyk a écrit :
> > Hi, Francois,
> >
> > Could you send this group a MWE tex file and your hacked map file?
>
> I attach the map file.
>
> MWE (not working in fact!)
>
> <----------------
>
> \documentclass[11pt]{report}
> \usepackage{fontspec}
>
> \fontspec{Noto Serif Grantha}
>
> \setmainfont[%
> Mapping=velthuis-sanskrit-grantha,%
> % Script=Grantha,%
> ]{%
>   Noto Serif Grantha%
> }%
>
> \newfontfamily{\grantha}{Noto Serif Grantha}
>
> \begin{document}
>
> {\grantha
>
>   a aa i ii u uu .r .R k ka kaa khi khii gu guu gh.r gh.R
>
>   atha trairaa"sike kara.nasuutrav.rttam---
> }
>
> \end{document}
>
>
>
> > Did
> > you rehash your TeX files index after adding the new map file?
>
> I tried two ways: 1) put the .tec file in the working directory 2) put
> it in /opt/texlive/texmf-local/fonts/misc/xetex/fontmapping/ then I did
> mktexlsr
>
> Best regards.
>
> François
> --
> François Patte
> UFR de mathématiques et informatique
> Laboratoire CNRS MAP5, UMR 8145
> Université Paris Descartes
> 45, rue des Saints Pères
> F-75270 Paris Cedex 06
> Tél. +33 (0)6 7892 5822
> http://www.math-info.univ-paris5.fr/~patte
> FSF
> https://www.fsf.org/blogs/community/presenting-shoetool-happy-holidays-from-the-fsf

Reply via email to