From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95884 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Problem loading font KFGQPC Uthman Taha Naskh font Date: Sun, 21 Aug 2016 18:17:56 +0200 Message-ID: <57B9D434.9030309@gmail.com> References: <57B9B3AA.40807@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1400983823641964362==" X-Trace: blaine.gmane.org 1471796349 22658 195.159.176.226 (21 Aug 2016 16:19:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 21 Aug 2016 16:19:09 +0000 (UTC) User-Agent: Postbox 4.0.8 (Macintosh/20151105) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Aug 21 18:19:04 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 1bbVSi-0005dH-IB for gctc-ntg-context-518@m.gmane.org; Sun, 21 Aug 2016 18:19:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2F45214E78; Sun, 21 Aug 2016 18:18:16 +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 4qs2V6K1zZzP; Sun, 21 Aug 2016 18:18:14 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id A464C14E86; Sun, 21 Aug 2016 18:18:14 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 43A6814E75 for ; Sun, 21 Aug 2016 18:18:13 +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 7RoOfsuAvahm for ; Sun, 21 Aug 2016 18:18:12 +0200 (CEST) Original-Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) (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 F3BDF14E4C for ; Sun, 21 Aug 2016 18:18:01 +0200 (CEST) Original-Received: by mail-wm0-f44.google.com with SMTP id q128so16836769wma.1 for ; Sun, 21 Aug 2016 09:18:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=v65vSW91V/hm6ezzq4qBbaAZ02p/olqYF+lEPcSWPPY=; b=jQ6tU3wYrYt/8AiCvVLkZu57C7Lv/Exx3ACst5RDAt4OzgH92gyTUBaKgvxtuc/sq6 +Ej6g90sl9+zpL69eqU7rOjnw9n0h2KDUTKQ+/Qq/tljHYWCBqFH4R7FG9YUE1bsVSvr zcUk+5KonVUJoE6abkZy3amAOyIbjmoCpg6GA4QMXXJBKC2ni+3yOBLq4QblGPrhZjbx NtCQNKcBHetZNJ8OaZGtrYwUCUkM+754bq6zFwAw6qMxnklg10T7ST4FYS++KL4DQ7rV bqUk6srLTUHppksNWtlK2zl9F2I3tC2RVsv0VJJdn+94y/+xqlVF48kWSZ6rpFkd6rMp jE+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=v65vSW91V/hm6ezzq4qBbaAZ02p/olqYF+lEPcSWPPY=; b=H5n5g32jACfbDOxlvVhD+eqs+SCWLyAcBLf1+50BRujvrRfSgos3MSXq2gfobHLRAn y7tIKNseTJuVWeY1TbD9V+TynOiq1Z1lKgAYgONTI+dQZm3unluXZapdCw0k0RT1/kdL p5zispWhSOjuu2qeqMfoSH4UoLi8omxO48Ad+86Hb1/qGb7xhZJmHrSqQQid6m301HY/ AKYoC/HCSoq+pzb3xlZf4JN19DBHrGNd+qifMptjWw3ak/mIbAaOMoFw3Zf4yT7HI/R5 lwmma1RYoZCuqm9dxDpUECTnVQal/Z8V0WzrGSIbX8HnPpFdLG+aG1XXhuGBNmOlzJ1L rTNA== X-Gm-Message-State: AEkoousS4oxp4QlVU8l3I9jQkLol2sNUkmLdAEq4RVcWidJJyY8WO7Vmy8R1Vc2ipCftug== X-Received: by 10.28.20.77 with SMTP id 74mr11258522wmu.1.1471796280210; Sun, 21 Aug 2016 09:18:00 -0700 (PDT) Original-Received: from keima.localdomain (x2f21c3c.dyn.telefonica.de. [2.242.28.60]) by smtp.gmail.com with ESMTPSA id s184sm15932450wmb.11.2016.08.21.09.17.58 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 21 Aug 2016 09:17:58 -0700 (PDT) In-Reply-To: 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:95884 Archived-At: This is a multi-part message in MIME format. --===============1400983823641964362== Content-Type: multipart/alternative; boundary="------------010801000708060808070007" This is a multi-part message in MIME format. --------------010801000708060808070007 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit > 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=arabic] > > %\setupbodyfont[mainfont] > > > \starttext > > \definedfont[KFGQPCUthmanTahaNaskh*arabic] > > سلام > > \stoptext > When you don’t set a method ConTeXt looks for a file with the given 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 --------------010801000708060808070007 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
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=arabic]

%\setupbodyfont[mainfont]


\starttext

\definedfont[KFGQPCUthmanTahaNaskh*arabic]

سلام

\stoptext

When you don’t set a method ConTeXt looks for a file with the given 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
--------------010801000708060808070007-- --===============1400983823641964362== 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= --===============1400983823641964362==--