ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Installing an arabic font
@ 2013-05-09  7:45 "H. Özoguz"
  2013-05-09 10:55 ` Hans Hagen
  0 siblings, 1 reply; 12+ messages in thread
From: "H. Özoguz" @ 2013-05-09  7:45 UTC (permalink / raw)
  To: ntg-context

> The font is fine with other
> OpenType engines as well, e.g. HarfBuzz, so it is probably a ConTeXt
> issue.

Yes, the font is fine with OpenOffice, too.
It would be really great, if this could be fixed in context, so one 
could typeset quran (and other traditional arabic) professionally. Would 
be very valuable!

Huseyin
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: Installing an arabic font
@ 2013-05-09 17:27 "H. Özoguz"
  2013-05-10  8:35 ` Hans Hagen
  0 siblings, 1 reply; 12+ messages in thread
From: "H. Özoguz" @ 2013-05-09 17:27 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 728 bytes --]

> I uploaded a beta that might fix it, but it needs more testing. The
> issue might have been introduced when support was added for more complex
> ligature building, compare for instance this:

Thanks Hans! Indeed, it was a fix, but there are still problems I find 
in further testing, see attachment for this code:

\definefont[amiri][file:UthmanTN1Ver10.ttf*arabic at 17 pt]
\define[1]\Arab{\setupalign[r2l]\amiri#1}
\starttext
\Arab{
لرَّحْمَـٰنِ
}
\stoptext

In context the two signs are set one upon the other ("sukun" and 
"fatha"), see the second attachment (word) for the correct setting. But 
now this has nothing todo with ligatures, deactivating them does not 
help now.

Huseyin



[-- Attachment #2: contextversion.pdf --]
[-- Type: application/pdf, Size: 14531 bytes --]

[-- Attachment #3: wordversion.pdf --]
[-- Type: application/pdf, Size: 5515 bytes --]

[-- Attachment #4: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: Installing an arabic font
@ 2013-05-08 20:58 "H. Özoguz"
  2013-05-08 21:03 ` Hans Hagen
  0 siblings, 1 reply; 12+ messages in thread
From: "H. Özoguz" @ 2013-05-08 20:58 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 288 bytes --]

> seems like an issue with liga ... i'm not sure if that's a context problem

Hmm, see in the attachment the output of MS-Word, with activated 
ligatures. So it has to do anything with ConText, or not? Or maybe this 
font uses in some way properties of Word in handling fonts?

Huseyin



[-- Attachment #2: Dokument1.pdf --]
[-- Type: application/pdf, Size: 7132 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: Installing an arabic font
@ 2013-05-08 19:23 "H. Özoguz"
  2013-05-08 20:16 ` Hans Hagen
  0 siblings, 1 reply; 12+ messages in thread
From: "H. Özoguz" @ 2013-05-08 19:23 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 1035 bytes --]

> Rename the file to have a .ttf extension; it is and OpenType font with
> TrueType outlines and those usually have .ttf extension (though the
> spec says they can have .otf extension, ConTeXt does not handle this
> right now).
>
> Regards,
> Khaled

Thanks Khaled, now it works, at least to some degree. I have still 
problems, which I dont have with MS Word, see this example:

\definefont[amiri][file:UthmanTN1Ver10.ttf*arabic at 17 pt]
\define[1]\Arab{\setupalign[r2l]\amiri#1}
\starttext
\Arab{
نَسْتَعِينُ وَلَا الضَّالِّينَ
}
\stoptext

The vocalisations are set wrong, see attachment. Specially with a final 
"nuun" there are problems. It is not a problem of the font, because in 
Word they are set correctly. Does this come from the extensions ConTeXt 
do not support, or is there an easy way to fix?
Or asked more generally, if fixing is not possible: Do you know any 
font, which can correct handled by context, and is capable of 
typesetting quran?

Thanks.
Huseyin

[-- Attachment #2: nuunkassra.pdf --]
[-- Type: application/pdf, Size: 16150 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: Installing an arabic font
@ 2013-05-08 15:39 "H. Özoguz"
  0 siblings, 0 replies; 12+ messages in thread
From: "H. Özoguz" @ 2013-05-08 15:39 UTC (permalink / raw)
  To: ntg-context

Sorry, Link corrected:

http://fonts.qurancomplex.gov.sa/wp-content/uploads/2012/06/UthmanTN1-Ver10.zip

___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 12+ messages in thread
[parent not found: <518A03E1.6070705@mmnetz.de>]

end of thread, other threads:[~2013-05-10  8:35 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-09  7:45 Installing an arabic font "H. Özoguz"
2013-05-09 10:55 ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2013-05-09 17:27 "H. Özoguz"
2013-05-10  8:35 ` Hans Hagen
2013-05-08 20:58 "H. Özoguz"
2013-05-08 21:03 ` Hans Hagen
2013-05-09  7:08   ` Khaled Hosny
2013-05-08 19:23 "H. Özoguz"
2013-05-08 20:16 ` Hans Hagen
2013-05-08 15:39 "H. Özoguz"
     [not found] <518A03E1.6070705@mmnetz.de>
2013-05-08 15:38 ` "H. Özoguz"
2013-05-08 16:28   ` Khaled Hosny

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).