<div dir="ltr"><pre>Sorry for repeating the same question again, but since I did not get any response, I will repeat it gain. The answer does not need to be detailed, it can be either "yes, you can do this in xetex" or "no, you can not do it in xetex".<br>
<br><br><br>Hi<br><br>I recieved this email from one of the users and he believes that is a bug.<br><br>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>Dear Mr. Khalighi<br><br> This is Massoud Babaie-Zadeh. I was one of the people active in preparing<br>
FarsiTeX.<br><br> First of all, thank you very much for your efforts in preparing XePersian<br>package. I hope that with your efforts, we will have finally a complete<br>Persian typesetting system compatible with all latex packages.<br>
<br> I send you this email to inform you about (according me) a very important<br>bug in XePersian. This bug existed also in the very early versions of<br>FarsiTeX. I think that correcting it in XePersian should not be difficult<br>
for you, and needs just that someone signals the existence of this bug.<br><br> This bug is related to the difference between Persian and English in<br>adjusting the end of lines. In English, for stretching a line, some spaces<br>
(glue) are added between the words. In Persian, however, some letters inside<br>the words are stretched (what is called in Persian calligraphy a<br>"KESHIDEH"). Adding spaces between words to adjust a Persian line produces<br>
less beautiful documents (and I guess that for this reason you have disabled<br>it in XePersian). However, the "Keshideh" system does not exist in<br>XePersian. (In MS-Word this system existed even in its very old versions on<br>
Win3.1, and without implementing it in FarsiTeX, the output was less<br>beautiful even than those old MS-Word outputs).<br><br> As a demonstration, please find attached 2 examples prepared by FarsiTeX<br>and XePersian. For FarsiTeX, I prefer that you look at the .ps output,<br>
because the pdf version is not very well displayed, but in .ps and also in<br>print it has no problem.<br><br> Just as a note: I don't remember, but I think that tex can itself<br>support such a thing (changing its default glue system), and adding some<br>
kind of `rule' between the letters of the words. In first implementation<br>FarsiTeX, it had been used. But since such a system does not work for<br>outlined fonts ("Font-hayeh too-khaali"), in the late versions of FarsiTeX<br>
the team has added a special character to each font for doing this task.<br>Since you use standard fonts, maybe the second one is not very easy (I am<br>not sure however), but even adding the first system solves the problem in<br>
99% of cases. I think that for more details, it would be very nice if you<br>contact Roozbeh Pournader (I think also that some part of this job is done<br>in Farsitex during the conversion from ftx to tex, but I don't know how much<br>
it is essential).<br><br> Another note: When you see some discontinuity between the letters in the<br>pdf (or dvi) of the output of FarsiTeX, it is not a bug: it is in fact this<br>stretching character which has been added between almost any two letters of<br>
the words to adjust the line.<br><br>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br><br><br>So is this the XePersian's bug or it has got to be fixed inside the xetex<br>engine?<br></pre>and How can I fix it?<br clear="all">
<br>-- <br>VK<br>
</div>