In some Open-type fonts there are some stylistic sets are available, which help to select the glyph-set which may be appropriate to particular language. For Marathi, the language I want to use, some glyph-shapes e. g. श, ल, ५, ८ are written, visually different from that of Hindi, which also uses Devanagari Script.
Along with that there are two styles of writing some conjuncts. Some are written vertically and some are written horizontally eg. क्क, ल्ल, प्ल. Many fonts include both the alternative glyph styles, which can be selected in LaTeX by the StyleSet feature, while selecting a font.
In my case I have selected two Devanagari fonts, both include the alternate glyph-shapes mentioned above. But I could use them with one font i. e. Mukta, But could not use them with another font i. e. Noto Serif Devanagari. I have confirmed that both fonts have the above said alternatives, by opening the fonts in FontForge.
Please guide me how to use these alternate glyph-shapes available in Noto Serif Devanagari. The LaTeX code, I have used, is given bellow. I have run it using xelatex engine.
\documentclass[a4paper,10pt]{article}
\usepackage{fontspec}
\usepackage{xltxtra}
\usepackage{polyglossia}
\setdefaultlanguage{marathi}
\setmainfont{Mukta}[Script=Devanagari, Mapping=devanagarinumerals]
% ===== Font Selection =====
% Mukta (https://github.com/EkType/Mukta/tree/master/Mukta-Devanagari)
\newfontfamily\Muktaone[Script=Devanagari,Mapping=devanagarinumerals, StylisticSet=1]{Mukta}
\newfontfamily\Muktatwo[Script=Devanagari,Mapping=devanagarinumerals,StylisticSet=2]{Mukta}
% Noto Serif Devanagari (https://www.google.com/get/noto/#serif-deva)
\newfontfamily\NSDone[Script=Devanagari,Mapping=devanagarinumerals,StylisticSet=1]{Noto Serif Devanagari}
\newfontfamily\NSDtwo[Script=Devanagari,Mapping=devanagarinumerals,StylisticSet=2]{Noto Serif Devanagari}
\begin{document}
\section*{Mukta}
\begin{description}
\item [StylisticSet1]{\Muktaone ५, ८, श, ल, क्क, ल्ल, प्ल}
\item [StylisticSet2]{\Muktatwo ५, ८, श, ल, क्क, ल्ल, प्ल}
\end{description}
\section*{Noto Serif Devanagari}
\begin{description}
\item [StylisticSet1]{\NSDone ५, ८, श, ल, क्क, ल्ल, प्ल}
\item [StylisticSet2]{\NSDtwo ५, ८, श, ल, क्क, ल्ल, प्ल}
\end{description}
\end{document}
Output is shown bellow
otfinfo -f
and also some other things (see the section on Calibri in this answer). What did you see in Fontforge that makes you think it does?ss01
,ss02
). I don't see variant glyphs for the others (conjuncts etc.) either.