From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95883 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:06:25 -0400 Message-ID: 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="===============5053465266312940126==" X-Trace: blaine.gmane.org 1471795635 31942 195.159.176.226 (21 Aug 2016 16:07:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 21 Aug 2016 16:07:15 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Aug 21 18:07:10 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 1bbVHA-0007zg-Vt for gctc-ntg-context-518@m.gmane.org; Sun, 21 Aug 2016 18:07:09 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7432B15366; Sun, 21 Aug 2016 18:06:42 +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 FF9gkPEDGbq4; Sun, 21 Aug 2016 18:06:40 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id A870415368; Sun, 21 Aug 2016 18:06:40 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5345815364 for ; Sun, 21 Aug 2016 18:06:39 +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 qEZVK3my6RVH for ; Sun, 21 Aug 2016 18:06:37 +0200 (CEST) Original-Received: from mail-oi0-f45.google.com (mail-oi0-f45.google.com [209.85.218.45]) (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 3551815360 for ; Sun, 21 Aug 2016 18:06:27 +0200 (CEST) Original-Received: by mail-oi0-f45.google.com with SMTP id l203so122554274oib.1 for ; Sun, 21 Aug 2016 09:06:27 -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=7hLcmYI/RSvgvmcgajT1qoRHsFvRwWKHXJ5W+A8e2ys=; b=XcZVjp0Yxh2GD5DLnk2wx9xeXcRbzgzmW53VPRT083AwzN9r77Yag8hy58Wph98gre sOJuCZbGanrf0/xqoaDdh94VaRM4D3VPUAH7GNlRA44fnB75qGjaqshdVh1jJpkAYGfd 6RM1qbQSEeElLAqUgh4R14dI1veO8odf1J3ptSI3pDZnbvKn+xtuDJxUwEszDYk7Csoj 0aVkgdkuEoOIW0244jmqcbpSgnt2nFyRKf0YFXEoo8C1hN+JmGwHPj8H3wV3I+vPdVkc /V6iHPVluzq0X3oNP6JlMvJIlkT86LvI1+dfHhfOPt0wemqIYOoL3NVuouNo4Udt9p2/ gRhQ== 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=7hLcmYI/RSvgvmcgajT1qoRHsFvRwWKHXJ5W+A8e2ys=; b=fcJMTPgb3D7IKe1jFnBs94EGNOdGSVXF2pMeb6PLpeIPyWKBBSCWbwSmAFuYS56nr6 u4nfPVvA+GBHU8uFQZpJIpOc4KD3IOb21leFeIbjh2MsEX0iomOT+9URFIsE0Uf3PCkT +fKSliCxIwiVv3QD9aW46XLcYAkqiZ3vhCX0AFc+z9o6VetSrJw9qQ7TJk5wcQDCnd58 wrBEegMzwU1xZqIpRC1lwWamqqxGrrcdN83E6ksEkNV/C7e+56+ECn16lgAmH5yJb/+Z fmEgHGNXEXeZn1UjKGOcDPPj7UDEOfYEeDWg/wNBQAMpw6mSLU/hRn7ZxQyA6Y01NHK5 CPlQ== X-Gm-Message-State: AEkoouv589eJnevaOxHZz1EMJH4gtxHSs6+sfPPf8OPvUzD+1+AkvWE1To8V1VbGtIzVqURQIr0Rpi5uGh0+TQ== X-Received: by 10.202.186.138 with SMTP id k132mr2128316oif.194.1471795585530; Sun, 21 Aug 2016 09:06:25 -0700 (PDT) Original-Received: by 10.157.45.77 with HTTP; Sun, 21 Aug 2016 09:06:25 -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:95883 Archived-At: --===============5053465266312940126== Content-Type: multipart/alternative; boundary=001a113cd1f00ebfb9053a971d71 --001a113cd1f00ebfb9053a971d71 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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=3Darabi= c] %\setupbodyfont[mainfont] \starttext \definedfont[KFGQPCUthmanTahaNaskh*arabic] =D8=B3=D9=84=D8=A7=D9=85 \stoptext It complains that the font is not found. fonts > defining > font with asked name 'KFGQPCUthmanTahaNaskh' is not found using lookup 'file' fonts > defining > unknown font 'KFGQPCUthmanTahaNaskh', loading aborted fonts > defining > unable to define 'KFGQPCUthmanTahaNaskh' as 'thedefinedfont--0' On Sun, Aug 21, 2016 at 11:49 AM, Mohammad Hossein Bateni wrote: > remaking the format produced no change but removing those files from the > cache did solve the problem. > > thanks a lot! > > On Sun, Aug 21, 2016 at 9:59 AM, Wolfgang Schuster < > schuster.wolfgang@gmail.com> wrote: > >> Mohammad Hossein Bateni >> 21. August 2016 um 12:53 >> Hello, >> >> The code snippet at the end used to work a few months ago when I reporte= d >> a rendering bug. But now the font does not load and I see the following >> error. (It's not an issue with simplefonts because >> \definedfont[KFGQPCUthmanTahaNaskh*arabic] does not work either. the >> font is published here >> >> . >> >> Remake the format (context --make en) or delete the font entries >> (uthmantn1-ver10.tma|tmc) in the cache ($TEXMF/texmf-cache/luatex-cache/= context//fonts/otl/). >> Please try both suggestions and report which of them helped. >> >> BTW: The simplefonts module has been replaced with the \definefontfamily >> command (different syntax but included in the core). >> >> %%%% begin example >> \definefontfamily[testfont][rm][KFGQPC Uthman Taha >> Naskh][features=3Darabic] >> >> \setupbodyfont[testfont] >> >> \starttext >> ... >> \stoptext >> %%%% end example >> >> Wolfgang >> >> ____________________________________________________________ >> _______________________ >> If your question is of interest to others as well, please add an entry t= o >> the Wiki! >> >> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/list >> info/ntg-context >> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net >> archive : http://foundry.supelec.fr/projects/contextrev/ >> wiki : http://contextgarden.net >> ____________________________________________________________ >> _______________________ >> > > --001a113cd1f00ebfb9053a971d71 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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]

<= p style=3D"margin:0px" dir=3D"rtl">=D8=B3=D9=84=D8=A7=D9=85

\stoptext



It complains that the font is not fou= nd.


fonts =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > defining > font= with asked name 'KFGQPCUthmanTahaNaskh' is not found using lookup = 'file'
fonts =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > defining &g= t; unknown font 'KFGQPCUthmanTahaNaskh', loading aborted
fonts = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > defining > unable to define '= ;KFGQPCUthmanTahaNaskh' as 'thedefinedfont--0'

On Sun, Aug 21, 2016 a= t 11:49 AM, Mohammad Hossein Bateni <bateni@gmail.com> wrote:=
remaking the format pro= duced no change but removing those files from the cache did solve the probl= em.

thanks a lot!
=
On Sun, Aug 21, 2016 = at 9:59 AM, Wolfgang Schuster <schuster.wolfgang@gmail.com&g= t; wrote:
= 21.=20 August 2016 um 12:53
Hello,

The code snippet at the end used to work a few months ago when I reported a rendering bug.=C2=A0 But now the font does not load and I see the followin= g=20 error. =C2=A0(It's not an issue with simplefonts because=20 \definedfont[KFGQPCUthmanTahaNaskh*arabic] does not work either. =C2= =A0the=20 font is published=C2=A0here.
Remake the format (context --make en) or delete the font entries=20 (uthmantn1-ver10.tma|tmc) in the cache=20 ($TEXMF/texmf-cache/luatex-cache/context/<HASH>/fonts/otl/).=20 Please try both suggestions and report which of them helped.

BTW: The simplefonts module has been replaced with the \definefontfamily command (different syntax but included in the core).

%%%% begin example
\definefontfamily[testfont][rm][KFGQPC Uthman Taha=20 Naskh][features=3Darabic]

\setupbodyfont[testfont]

\starttext
...
\stoptext
%%%% end example

Wolfgang

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

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listin= fo/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
_________________________________________________________________= __________________


--001a113cd1f00ebfb9053a971d71-- --===============5053465266312940126== 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= --===============5053465266312940126==--