tex-persian / xepersian

Persian for LaTeX, using XeTeX
https://ctan.org/pkg/xepersian
10 stars 0 forks source link

Kashida problem with most of fonts (except IR series) #12

Open bahman-mirzakhani opened 2 years ago

bahman-mirzakhani commented 2 years ago

Brief outline of the issue

The letters are separated when Kashida is enable.

Check/indicate

Minimal example showing the issue

% !TEX TS-program = XeLaTeX
% !TEX encoding = UTF-8 Unicode

\documentclass{article}

\usepackage[Kashida]{xepersian}
 % problem with series: XB, HM FTX 3.8, HM SX2 3.8, Yas and so on...
\settextfont{XB Zar}

\begin{document}
این یک متن آزمایشی است.
\end{document}

Expected behavior

Log and PDF files

test.log test.pdf

vafa-khalighi commented 2 years ago

The only fonts I have access to are Adobe Arabic, IRXLotus, Iranian Sans and Apple's shipped Arabic fonts. If you can test using these fonts, it would be wonderful as I do not want to download fonts into my work computer as the fonts you are mentioning may have some legal issues and it could cause me legal headaches at work. Also, these fonts may contain viruses and they could harm my computer.

bahman-mirzakhani commented 2 years ago

There is no problem with Adobe Arabic, IRXLotus (also IR series) and Iranian Sans fonts.

vafa-khalighi commented 2 years ago

I am sorry if my message conveyed that you needed to close the issue. Certainly, the issue has existed for several years. I will reopen this issue and see what I can do to fix it.