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. Thanks
Hi Mehdi,
what font are you using? Have you tried with a different font?
Burak
On Sun, Jul 20, 2008 at 1:13 AM, 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. Thanks
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
-- Burak Emir -- http://burak.emir.googlepages.com
Dear Mehdi,
سلام
On Sat, 19 Jul 2008 17:13:12 -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.
Please send me -- off list -- a small sample file with the font, and I'll examine it. 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
Hi Burak, I almost used any font from ubuntu, Microsoft, and Mac, but the problem is the same for all of them. As an example please see http://www.omidali.com/test.rar in which I have included the source file and the output. I have used 3 different fonts, namely, Arabic Transparent and Time New Roman from windows, and SimplifiedNaskh which I found in a thread by Idris. Thanks.
Hi Mehdi,
what font are you using? Have you tried with a different font?
Burak
On Sun, Jul 20, 2008 at 1:13 AM, Mehdi Omidali
wrote:
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. Thanks
Dear Idris سلام I tested many fonts, like Sil's Scheherezade and Lateef, farsiweb fonts http://www.farsiweb.ir/font/farsifonts-0.4.zip (roya for example), Mac X series which you can find one of them from http://irmug.org/portal/index.php?name=Downloads&req=getit&lid=30 A sample file with the output and also 3 fonts that have been used is in http://www.omidali.com/test.rar Best regards, Mehdi
Dear Mehdi,
سلام
On Sat, 19 Jul 2008 17:13:12 -0600, Mehdi Omidali
wrote:
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.
Please send me -- off list -- a small sample file with the font, and I'll examine it.
Best wishes Idris
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
participants (3)
-
Burak Emir
-
Idris Samawi Hamid ادريس سماوي ح امد
-
Mehdi Omidali