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

babel: "Numbers=Arabic" not working with Amiri font (\babelfont command) #1

Closed
seloumi opened this issue Apr 2, 2019 · 1 comment
Closed
Labels
duplicate This issue or pull request already exists

Comments

@seloumi
Copy link
Contributor

seloumi commented Apr 2, 2019

Brief outline of the bug

With the Numbers=Arabic key from fontspec used from babel produce an incorrect result
the minimal example show that with Amiri font numbers are displayed in maghrib form where it supposed to be in machriq form, that issue does not appear with other fonts.

Minimal example showing the bug

\RequirePackage{latexbug}     
\documentclass[a4paper]{article}
\usepackage[bidi=basic-r,layout=counters]{babel}
\babelprovide[import=ar, main]{arabic}
\babelfont{rm}[Numbers=Arabic]{Amiri}% work as expected with other fonts
\begin{document}
\section{first section}
\end{document}

The key Numbers=Arabic work fine with fontspec package

\documentclass[12pt]{article}
\usepackage{fontspec}
\setmainfont[Script=Arabic,Numbers=Arabic]{Amiri}
\begin{document}
\section{first section}
\end{document}

Log file (required) and possibly PDF file

test.log
test.pdf

@josephwright josephwright added the duplicate This issue or pull request already exists label Apr 9, 2019
@josephwright
Copy link
Member

Successful migration: #19

This issue is being transferred. Timeline may not be complete until it finishes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants