You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Awami Nastaliq font (also attached) requires the Graphite rendering engine to be displayed properly. The font commands provided by XePersian do not appear to allow this to be configured correctly. I am assuming this is not unique to Awami.
Issue tracker has been searched for similar issues?
Links to <tex.stackexchange.com> discussion if appropriate
Links to <qa.parsilatex.com> discussion if appropriate
Minimal example showing the issue
% !TEX TS-program = XeLaTeX% !TEX encoding = UTF-8 Unicode\documentclass{article}
\usepackage[]{xepersian}
\settextfont[Renderer=Graphite]%
{AwamiNastaliq-Regular.ttf}
\newfontfamily\awami[Renderer=Graphite]%
{AwamiNastaliq-Regular.ttf}
\begin{document}
یک دو سه چهار پنخ شش هفت هشت نه ده
\awami
یک دو سه چهار پنخ شش هفت هشت نه ده
\end{document}
Expected behavior
XePersian's settextfont should behave the same as the corresponding fontspec command. However, it produces a warning that the font does not contain the requested Persian script, and does not render the Persian text correctly.
The issue appears to be with the explicit indication of a script---any script. When we add Script=Persian, Script=Arabic, or even Script= to the newfontfamily command, the results are identical to those of XePersian, and the text does not render correctly.
I sincerely apologize for being very slow and get to this issue quite late. I have fixed this in the development version; the official version is planned to be released on CTAN on February 27.
Please also note that I had to move the GitHub repository to a new place. The new repository can be found here. If you have reported any issues in the old repository, there is no need to re-report it in the new one but for the new issues, please kindly use the new repository.
There is also a Discussions section on the new repository which you can use to ask questions that need my attention. The announcements for future versions of the xepersian package also will appear in Discussions under Announcements.
Finally, if you ever need to contact me directly, you can find my email address in the PDF documentation on the second title page.
Brief outline of the issue
The Awami Nastaliq font (also attached) requires the Graphite rendering engine to be displayed properly. The font commands provided by XePersian do not appear to allow this to be configured correctly. I am assuming this is not unique to Awami.
Check/indicate
bidi
packagebidi
package issue tracker has been searched for similar issues?Minimal example showing the issue
Expected behavior
XePersian's
settextfont
should behave the same as the corresponding fontspec command. However, it produces a warning that the font does not contain the requested Persian script, and does not render the Persian text correctly.The issue appears to be with the explicit indication of a script---any script. When we add
Script=Persian
,Script=Arabic
, or evenScript=
to thenewfontfamily
command, the results are identical to those of XePersian, and the text does not render correctly.Log and PDF files
xepersian-graphite-awami.pdf
xepersian-graphite-awami.txt
AwamiNastaliq-2.000.zip
The text was updated successfully, but these errors were encountered: