From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94585 Path: news.gmane.org!not-for-mail From: Mohammad Hossein Bateni Newsgroups: gmane.comp.tex.context Subject: Re: Problem with Quran KFGQPC Uthman Taha Naskh font Date: Fri, 29 Apr 2016 05:52:05 -0400 Message-ID: References: <4c29e3c9-f390-b6db-7e3a-d8c6999a5569@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1810293211248705548==" X-Trace: ger.gmane.org 1461923567 23004 80.91.229.3 (29 Apr 2016 09:52:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Apr 2016 09:52:47 +0000 (UTC) Cc: Khaled Hosny , =?UTF-8?B?SWRyaXMgU2FtYXdpIEhhbWlkINin2K/YsdmK2LMg2LPZhdin2YjZiiDYrdin2YXYrw==?= To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 29 11:52:33 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 plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aw566-0001nM-GE for gctc-ntg-context-518@m.gmane.org; Fri, 29 Apr 2016 11:52:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A1C3BB4E4; Fri, 29 Apr 2016 11:52:20 +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 Df0RMslBp2XN; Fri, 29 Apr 2016 11:52:19 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id D7039B4E6; Fri, 29 Apr 2016 11:52:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 62457B4E4 for ; Fri, 29 Apr 2016 11:52:19 +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 aAUokVI0DryS for ; Fri, 29 Apr 2016 11:52:17 +0200 (CEST) Original-Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) (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 3FF70B4E3 for ; Fri, 29 Apr 2016 11:52:06 +0200 (CEST) Original-Received: by mail-ob0-f182.google.com with SMTP id x1so30397272obt.0 for ; Fri, 29 Apr 2016 02:52:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=H03Z8tFrPKHYqUfrMTM9ElGtF7h4kBm0RTucRt8umW0=; b=ZWbB0rKur5GOSMDz++rSuSxI0SZ2wJ5soxYE+ObKSmUkw4xdO51gS++VbLgYTb210W +meWAoIU0+TcN3yofLUlXfQyNcQRWWN/hJHpID3D7fnstFq+uenzMZ0apxjqhE28hJof WyBRUFhtKdZEnagK8GnK9y5amb7MHaRfj78dgN0nz2wFmEqAqOGzKgzi+rEPjkFJKe1Z fpR7Fk3VxtoERO4OTaahHPNHU1lLe5sLlBOCaMlnko9FCyvxtaOWqjyJfIImBS6U6u+c V0UguHNR7D0C7Qcus7oQca4yq0TEiPXqM+CmQdw9O+OxL8np+95YUJrlIvHj5YD9Md1A tqbg== 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:date :message-id:subject:from:to:cc; bh=H03Z8tFrPKHYqUfrMTM9ElGtF7h4kBm0RTucRt8umW0=; b=f3mkAkvSGEYhYljiCKkyCpM7DaAkEhv4Gt2Lzfu3RQWbQkhuyfiYbL5jGvrsBpFOcE caNfuJCuZJ3/5idS7mYmcewGoQXkTvVxOsfNTOboGxIsl2YkzIaqza4RddsU7Atv/58L O6mfsvGitEXpO11wAKLMfGWNvc3r1rGau3Uj1InalSbJgppwWwupn2HuvMVCrFwRdxG7 QqJlTTe9qZ/wpW4/YFnGciAUPo9f46In5fvGVT/N+8x4Tuxg5O+6GTqGNKrgqPajNzM4 VHMOA7FVzuFc/h6sBAHkh0yOo/GJ03U3M0ZXHNBA9BOOiLPfixB+/0tVWPkmM1cE9MkR ALGw== X-Gm-Message-State: AOPr4FVJs57sMf7Kukoe88VXEYVEVau3QpgFkuFcy+v0R5IyePY7fml5f09ORL2rPO8MprPCpzW4uGhQx8g8yg== X-Received: by 10.60.81.167 with SMTP id b7mr9269607oey.2.1461923525575; Fri, 29 Apr 2016 02:52:05 -0700 (PDT) Original-Received: by 10.157.3.34 with HTTP; Fri, 29 Apr 2016 02:52:05 -0700 (PDT) In-Reply-To: <4c29e3c9-f390-b6db-7e3a-d8c6999a5569@wxs.nl> 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:94585 Archived-At: --===============1810293211248705548== Content-Type: multipart/alternative; boundary=047d7b4187716e4cde05319c980b --047d7b4187716e4cde05319c980b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks, Hans! The problem is *almost* fixed in the latest beta, version: 2016.04.27 10:18. I didn't think something had changed in the past two weeks; that's why I hadn't tried with the latest version. There is only one word where I notice bad placement of diacritics when using CONTEXT. Compare this and this . BTW context gave the following "warning" about not being able to access the data. Is that because it was the first run of a new installation? system > lua > compiling > '/Users/bateni/context.newest/tex/texmf-cache/luatex-cache/context/5fe67e= 0bfe781ce0dde776fb1556f32e/fonts/data/names.tma' > into > '/Users/bateni/context.newest/tex/texmf-cache/luatex-cache/context/5fe67e= 0bfe781ce0dde776fb1556f32e/fonts/data/names.tmc' > system > lua > dumping > '/Users/bateni/context.newest/tex/texmf-cache/luatex-cache/context/5fe67e= 0bfe781ce0dde776fb1556f32e/fonts/data/names.tma' > into > '/Users/bateni/context.newest/tex/texmf-cache/luatex-cache/context/5fe67e= 0bfe781ce0dde776fb1556f32e/fonts/data/names.tmc' > stripped > fonts > names > accessing the data table failed =E2=80=94MHB On Fri, Apr 29, 2016 at 4:42 AM, Hans Hagen wrote: > On 4/29/2016 5:01 AM, Mohammad Hossein Bateni wrote: > >> The attachments in the email below were too big for the list (>100KB). >> I uploaded them here . >> >> On Thu, Apr 28, 2016 at 10:20 PM, Mohammad Hossein Bateni >> > wrote: >> >> Hi, >> >> I am not sure whether I'm missing certain features in the font >> definition or whether there is actually some bug in how CONTEXT or >> LuaTeX for that matter handles this font. It might as well be that >> there is something wrong with the font >> , though I doubt th= at. >> >> Attached is my simple test program and the PDF output, which is >> annotated to show the problems. You can compare with the reference >> PNG file I generated via rendering in Chrome. I hope you can see >> the annotations where I have pointed out the incorrect typesetting, >> otherwise you can compare the two outputs to notice the difference: >> for the most part, some diacritics that are not placed in the right >> location (both vertically and horizontally). >> >> I am using Mac OS X with CONTEXT current version: 2016.04.13 16:46. >> > > can you check the context + beta from the contextgarden? > > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl > ----------------------------------------------------------------- > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ --047d7b4187716e4cde05319c980b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks, Hans!=C2=A0 The problem is almost fixed in = the=C2=A0latest beta, version: 2016.04.27 10:18.=C2=A0 I didn't think s= omething had changed in the past two weeks; that's why I hadn't tri= ed with the latest version.

There is only one word where= I notice bad placement of diacritics when using CONTEXT.=C2=A0 Compare this and <= a href=3D"http://mhbateni.com/context/bug-01/word-chrome.png">this.

BTW context gave the following "warning" ab= out not being able to access the data.=C2=A0 Is that because it was the fir= st run of a new installation?

system = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0> lua > compiling '/Users/baten= i/context.newest/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde77= 6fb1556f32e/fonts/data/names.tma' into '/Users/bateni/context.newes= t/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fon= ts/data/names.tmc'
system =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0> lua= > dumping '/Users/bateni/context.newest/tex/texmf-cache/luatex-cach= e/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/data/names.tma' into &= #39;/Users/bateni/context.newest/tex/texmf-cache/luatex-cache/context/5fe67= e0bfe781ce0dde776fb1556f32e/fonts/data/names.tmc' stripped
fonts =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > names > accessing the data table fa= iled

=E2=80=94MHB

On Fri, Apr 29, 2016= at 4:42 AM, Hans Hagen <pragma@wxs.nl> wrote:
On 4/29/2016 5:01 AM, Mohammad Hossein Ba= teni wrote:
The attachments in the email below were too big for the list (>100KB). I uploaded them here <http://mhbateni.com/context/bug-01/&= gt;.

On Thu, Apr 28, 2016 at 10:20 PM, Mohammad Hossein Bateni
<bateni@gmail.com<= /a> <mailto:bateni= @gmail.com>> wrote:

=C2=A0 =C2=A0 Hi,

=C2=A0 =C2=A0 I am not sure whether I'm missing certain features in the= font
=C2=A0 =C2=A0 definition or whether there is actually some bug in how CONTE= XT or
=C2=A0 =C2=A0 LuaTeX for that matter handles this font.=C2=A0 It might as w= ell be that
=C2=A0 =C2=A0 there is something wrong with the font
=C2=A0 =C2=A0 <http://fonts.qurancomplex.gov.sa/?p= age_id=3D608>, though I doubt that.

=C2=A0 =C2=A0 Attached is my simple test program and the PDF output, which = is
=C2=A0 =C2=A0 annotated to show the problems.=C2=A0 You can compare with th= e reference
=C2=A0 =C2=A0 PNG file I generated via rendering in Chrome.=C2=A0 I hope yo= u can see
=C2=A0 =C2=A0 the annotations where I have pointed out the incorrect typese= tting,
=C2=A0 =C2=A0 otherwise you can compare the two outputs to notice the diffe= rence:
=C2=A0 =C2=A0 for the most part, some diacritics that are not placed in the= right
=C2=A0 =C2=A0 location (both vertically and horizontally).

=C2=A0 =C2=A0 I am using Mac OS X with CONTEXT current version: 2016.04.13 16= :46.

can you check the context + beta from the contextgarden?


-----------------------------------------------------------------
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 H= ans Hagen | PRAGMA ADE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Ridderstraat 27 | 8061 GH = Hasselt | The Netherlands
=C2=A0 =C2=A0 =C2=A0 tel: 038 477 53 69 | www.pragma-ade.com | www.prag= ma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________= ________
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/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://tex.aanhet.net
archive=C2=A0 : http://foundry.supelec.fr/projects/con= textrev/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________

--047d7b4187716e4cde05319c980b-- --===============1810293211248705548== 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= --===============1810293211248705548==--