ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "\"H. Özoguz\"" <h.oezoguz@mmnetz.de>
To: ntg-context@ntg.nl
Subject: Installing an arabic font
Date: Wed, 08 May 2013 17:38:35 +0200	[thread overview]
Message-ID: <518A717B.1030004@mmnetz.de> (raw)
In-Reply-To: <518A03E1.6070705@mmnetz.de>


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

Hoping to annoy not everybody here with my arabic-font-questions.

I have found I nice free arabic ttf-font, you can download it here:
http://fonts.qurancomplex.gov.sa/wp-content/uploads/2012/06/UthmanTN1-Ver10.zip. 


One of its types is: "kfgqpcuthmantahanaskhregular"

If I type in the cmd

C:\Users\Hussein>mtxrun --script font --list --all --pattern=*kf*

I get (together with some other lines/fonts): 
kfgqpcuthmantahanaskhregular kfgqpcuthmantahanaskh 
c:/windows/fonts/UthmanTN1 Ver10.otf

So everything should be ok. But now the following failes:

\definefont[amiri][name:kfgqpcuthmantahanaskhregular*arabic at 17 pt]
\define[1]\Arab{\setupalign[r2l]\amiri#1}
\starttext
\Arab{
بِسْمِ ‏للهِ الرَّحْمَـٰنِ الرَّحِيمِ
}
\stoptext

It compiles, but the output is destroyed, the letters have distances 
between them. See attached pdf. (In other programms, e.g. MS Word that 
does not happen, and the font is set correctly.)

Apart from this mistake, the font is perfect set by context, even the 
"Allah" and its "Kassra" has a nice distance (see the other thread). 
Indeed, if this distace-between-letters problem could be solved, I am 
happy with arabic in context, this font would be enough, and all other 
threads of mine could be closed (as far as I am concerned :))

Thanks for your help!

Huseyin

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

[-- Attachment #2: arabicfonttest.pdf --]
[-- Type: application/pdf, Size: 16601 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
___________________________________________________________________________________

       reply	other threads:[~2013-05-08 15:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <518A03E1.6070705@mmnetz.de>
2013-05-08 15:38 ` "H. Özoguz" [this message]
2013-05-08 16:28   ` Khaled Hosny
2013-05-08 15:39 "H. Özoguz"
2013-05-08 19:23 "H. Özoguz"
2013-05-08 20:16 ` 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-09  7:45 "H. Özoguz"
2013-05-09 10:55 ` Hans Hagen
2013-05-09 17:27 "H. Özoguz"
2013-05-10  8:35 ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=518A717B.1030004@mmnetz.de \
    --to=h.oezoguz@mmnetz.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).