Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

defaultfontfeatures not working properly. #429

Open
2 tasks done
niruvt opened this issue Aug 2, 2020 · 0 comments
Open
2 tasks done

defaultfontfeatures not working properly. #429

niruvt opened this issue Aug 2, 2020 · 0 comments

Comments

@niruvt
Copy link

niruvt commented Aug 2, 2020

Description

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

Check/indicate

  • Relevant for XeTeX
  • 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant