From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95885 Path: news.gmane.org!.POSTED!not-for-mail From: Mohammad Hossein Bateni Newsgroups: gmane.comp.tex.context Subject: Re: Problem loading font KFGQPC Uthman Taha Naskh font Date: Sun, 21 Aug 2016 12:19:44 -0400 Message-ID: References: <57B9B3AA.40807@gmail.com> <57B9D434.9030309@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0385522566975581093==" X-Trace: blaine.gmane.org 1471796690 30292 195.159.176.226 (21 Aug 2016 16:24:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 21 Aug 2016 16:24:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Aug 21 18:24:46 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bbVYD-0007XW-DP for gctc-ntg-context-518@m.gmane.org; Sun, 21 Aug 2016 18:24:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id ACEDE14EDC; Sun, 21 Aug 2016 18:19:59 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DqPykCoFc5R6; Sun, 21 Aug 2016 18:19:59 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id F198114F05; Sun, 21 Aug 2016 18:19:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DF2BD14EEE for ; Sun, 21 Aug 2016 18:19:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FIERhT_UoIcU for ; Sun, 21 Aug 2016 18:19:57 +0200 (CEST) Original-Received: from mail-oi0-f42.google.com (mail-oi0-f42.google.com [209.85.218.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id C87F714EDC for ; Sun, 21 Aug 2016 18:19:46 +0200 (CEST) Original-Received: by mail-oi0-f42.google.com with SMTP id 4so122873637oih.2 for ; Sun, 21 Aug 2016 09:19:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=SDw9iIF675o+1jD1liBa76GhCvuCltLGuRargC8cQbA=; b=vVvWSVsDnleEPfPvqVzP4nGgh2Q54v0CjeSk+ARZsI27jJ5vf6zFVM89O4dTKCQZb/ zbE1yxAtqOrpiIjf8eC2H6g+dnLMf/zT/tITXoqyzAGJ9mJCcFwkGimDME9jXyeNE4yu Io088yAbrKcU81KXRdEOTx3O1VHsI5cg/OgDJpA6sv0VYUJxNG0C2smzUfva8iecODst lccmz7ctFBdAfBU8z6kSMLfpXNrxigT/gNPmPuJ65ls95uO3USBGz8x6KcZomTrf+wWR kRSk5FCLXooYNAfP+cTckuIFgvtQTZC0AabnresGjtHXVU/m4oZ37SkxbN6gZ9HR6gSe Ogxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=SDw9iIF675o+1jD1liBa76GhCvuCltLGuRargC8cQbA=; b=L41OG6fGF3Vbj9gpFhk+idzR7lsM1Mhc5EWZiAZaAIQApKTtzzRh/CKwraoVfqf2qq laKgtcEmvnbor/43wZMePDt4WnFtpABOtaSaoY1pUahaScBI5yiPGZyQh0+zNg9yUaas Ef+xmJkAPruTNsfYhFEj+vHmvqOlLtGzFdgshpoAQAhAhC5+aShtVTP4XDxYli2Wis1U Orv/tIwnxuoIm5fvqZ28O6q2GMFJ4JVp3Wqt38rV8Kikh3U+gwXMAwv6QgEOhFkb8Lvv tJ6qD3IpBod4uUPNla6kNV1RaW3ggfqb+Q/63JGQz2H8Lu2nzhhpS1aCAkhbwJCIts5N H0Rg== X-Gm-Message-State: AEkooutFV8e5d/Wg/VfIKbN2TtDdI4bmP8TxwnHjmwOqQQUF9g1T16Ttdz3Ub9NHqpjpIarb/GN8ksT2ON/96Q== X-Received: by 10.157.18.168 with SMTP id g37mr10898994otg.48.1471796385077; Sun, 21 Aug 2016 09:19:45 -0700 (PDT) Original-Received: by 10.157.45.77 with HTTP; Sun, 21 Aug 2016 09:19:44 -0700 (PDT) In-Reply-To: <57B9D434.9030309@gmail.com> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:95885 Archived-At: --===============0385522566975581093== Content-Type: multipart/alternative; boundary=94eb2c03bfd6b6e140053a974c0f --94eb2c03bfd6b6e140053a974c0f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable awesome! thanks, Wolfgang! On Sun, Aug 21, 2016 at 12:17 PM, Wolfgang Schuster < schuster.wolfgang@gmail.com> wrote: > Mohammad Hossein Bateni > 21. August 2016 um 18:06 > While \definefontfamily method works, I can't get the \definedfont method > to work. > > > \setupalign[r2l] > % this works > > %\definefontfamily[mainfont][rm][KFGQPC Uthman Taha > Naskh][features=3Darabic] > > %\setupbodyfont[mainfont] > > > \starttext > > \definedfont[KFGQPCUthmanTahaNaskh*arabic] > > =D8=B3=D9=84=D8=A7=D9=85 > > \stoptext > > When you don=E2=80=99t set a method ConTeXt looks for a file with the giv= en name > which is equal to > > \definedfont[file:uthmantn1wer10*arabic] ... > > where I told ConTeXt to use the file method, another method which can be > used is the name > method which can be used like this > > \definedfont[name:kfgqpcuthmantahanaskh*arabic] ... > > Wolfgang > > ____________________________________________________________ > _______________________ > 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 > ____________________________________________________________ > _______________________ > --94eb2c03bfd6b6e140053a974c0f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
awesome! =C2=A0thanks, Wolfgang!

On Sun, Aug 21, 2016 at 12:17 PM, Wol= fgang Schuster <schuster.wolfgang@gmail.com> wrote= :
= 21.=20 August 2016 um 18:06
While=20 \definefontfamily method works, I can't get the \definedfont method to= =20 work.


\setupalign[r2l]
%=20 this works

%\definefontfamily[mainfont][rm][KFGQPC Uthman= =20 Taha Naskh][features=3Darabic]

%\setupbodyfont[mainfont]


\starttext

\definedfont[KFGQPCUthmanTahaNaskh*arabic]=

=D8=B3=D9=84=D8=A7=D9=85

\stoptext

When you don=E2=80=99t set a method ConTeXt looks for a file with the given= name which is equal to

=C2=A0=C2=A0=C2=A0 \definedfont[file:uthmantn1wer10*arabic] ...=

where I told ConTeXt to use the file method, another method which can be used is the name
method which can be used like this

=C2=A0=C2=A0=C2=A0 \definedfont[name:kfgqpcuthmantahanaskh*arabic] ...=

Wolfgang

_____________________________________________________________= ______________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" rel=3D"noreferrer= " target=3D"_blank">http://www.ntg.nl/mailman/listinfo/ntg-context=
webpage=C2=A0 : http://www.pragma-ade.nl / http://tex.aanhet.net
archive=C2=A0 : http://foundry.supelec.fr/project= s/contextrev/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
_________________________________________________________________= __________________

--94eb2c03bfd6b6e140053a974c0f-- --===============0385522566975581093== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============0385522566975581093==--