ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problem in arabic script
@ 2008-07-19 23:13 Mehdi Omidali
  2008-07-20 10:54 ` Burak Emir
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Mehdi Omidali @ 2008-07-19 23:13 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problem in arabic script
  2008-07-19 23:13 Problem in arabic script Mehdi Omidali
@ 2008-07-20 10:54 ` Burak Emir
  2008-07-20 14:09 ` Idris Samawi Hamid ادريس سماوي حامد
  2008-07-20 14:20 ` Mehdi Omidali
  2 siblings, 0 replies; 6+ messages in thread
From: Burak Emir @ 2008-07-20 10:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1028 bytes --]

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 <mehdioa@gmail.com> 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
>
> ___________________________________________________________________________________
> 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

[-- Attachment #1.2: Type: text/html, Size: 1803 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problem in arabic script
  2008-07-19 23:13 Problem in arabic script Mehdi Omidali
  2008-07-20 10:54 ` Burak Emir
@ 2008-07-20 14:09 ` Idris Samawi Hamid ادريس سماوي حامد
  2008-07-20 14:20 ` Mehdi Omidali
  2 siblings, 0 replies; 6+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2008-07-20 14:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear Mehdi,
سلام

On Sat, 19 Jul 2008 17:13:12 -0600, Mehdi Omidali <mehdioa@gmail.com>  
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

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problem in arabic script
  2008-07-19 23:13 Problem in arabic script Mehdi Omidali
  2008-07-20 10:54 ` Burak Emir
  2008-07-20 14:09 ` Idris Samawi Hamid ادريس سماوي حامد
@ 2008-07-20 14:20 ` Mehdi Omidali
  2008-07-20 16:15   ` Mehdi Omidali
  2 siblings, 1 reply; 6+ messages in thread
From: Mehdi Omidali @ 2008-07-20 14:20 UTC (permalink / raw)
  To: ntg-context

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 <mehdioa@???> 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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problem in arabic script
  2008-07-20 14:20 ` Mehdi Omidali
@ 2008-07-20 16:15   ` Mehdi Omidali
  2008-07-20 17:48     ` Idris Samawi Hamid ادريس سماوي حامد
  0 siblings, 1 reply; 6+ messages in thread
From: Mehdi Omidali @ 2008-07-20 16:15 UTC (permalink / raw)
  To: ntg-context

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 <mehdioa@???>
>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
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problem in arabic script
  2008-07-20 16:15   ` Mehdi Omidali
@ 2008-07-20 17:48     ` Idris Samawi Hamid ادريس سماوي حامد
  0 siblings, 0 replies; 6+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2008-07-20 17:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

Dear Mehdi,

On Sun, 20 Jul 2008 10:15:09 -0600, Mehdi Omidali <mehdioa@gmail.com>  
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.

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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-07-20 17:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-19 23:13 Problem in arabic script Mehdi Omidali
2008-07-20 10:54 ` Burak Emir
2008-07-20 14:09 ` Idris Samawi Hamid ادريس سماوي حامد
2008-07-20 14:20 ` Mehdi Omidali
2008-07-20 16:15   ` Mehdi Omidali
2008-07-20 17:48     ` Idris Samawi Hamid ادريس سماوي حامد

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).