Dear Mehdi,
On Sun, 20 Jul 2008 10:15:09 -0600, Mehdi Omidali
I use context+luatex to write farsi texts. A problem that I have been faced is that some characters (those that are in farsi and not in arabic like "Gaf", "Kaf", "Ya" and "Che") are shown only in isolated form. How can I solve this problem. I use ubuntu and latest context and luatex.
I have added support for farsi in font-otf.lua. Ultimately we need to add all unicode chars that submit to contextual analysis, like Urdu, Pashto etc. Until Hans gets back, do the following: open font-otf.lua go to line 4660 replace that definition with this one: local isol_fina_medi_init = { [0x0626] = true, [0x0628] = true, [0x0629] = true, [0x062A] = true, [0x062B] = true, [0x062C] = true, [0x062D] = true, [0x062E] = true, [0x0633] = true, [0x0634] = true, [0x0635] = true, [0x0636] = true, [0x0637] = true, [0x0638] = true, [0x0639] = true, [0x063A] = true, [0x0640] = true, -- tadwil [0x0641] = true, [0x0642] = true, [0x0643] = true, [0x0644] = true, [0x0645] = true, [0x0646] = true, [0x0647] = true, [0x0649] = true, [0x064A] = true, [0x067E] = true, [0x0686] = true, [0x0698] = true, [0x06A9] = true, [0x06AF] = true, [0x06CC] = true, [zwj] = true, } save and regenerate the format. try your file again. Works here. Note that artro.ttf does not seem to have the correct opentype info for 06CC, so it's not processed correctly. Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523