fontspec icon indicating copy to clipboard operation
fontspec copied to clipboard

defaultfontfeatures not working properly.

Open niruvt opened this issue 5 years ago • 0 comments

Description

defaultfontfeatures is not working properly with XeLaTeX. Mapping is not carried forward to all the subsequent fonts.

Check/indicate

  • [x] Relevant for XeTeX
  • [x] Issue tracker has been searched for similar issues?

Minimal example demonstrating the issue

%!TeX Program = xelatex
\documentclass{article}
\usepackage{fontspec}
\usepackage{babel}
\babelprovide[import, main, maparabic, mapdigits]{marathi}
\defaultfontfeatures{Script=Devanagari,Mapping=devanagarinumerals} % This doesn't give local numbers.
\setmainfont{Shobhika}%[Mapping=devanagarinumerals] Uncommenting this works.

\begin{document}
\title{नमुना}
\author{लेखक}
\maketitle
\end{document}

Further details

This issue is related to this one.

niruvt avatar Aug 02 '20 07:08 niruvt