Open lrkrol opened 4 years ago
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