From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/49078 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: Bug with "Adobe Arabic" font kerning Date: Sun, 5 Apr 2009 17:18:58 +0200 Message-ID: <20090405151858.GA14899@khaled-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0838390597==" X-Trace: ger.gmane.org 1238944803 9518 80.91.229.12 (5 Apr 2009 15:20:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Apr 2009 15:20:03 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 05 17:21:22 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LqU9x-0004JI-2y for gctc-ntg-context-518@m.gmane.org; Sun, 05 Apr 2009 17:21:21 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 398211FB74; Sun, 5 Apr 2009 17:19:55 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22435-01-4; Sun, 5 Apr 2009 17:19:23 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 62EFA1FA4C; Sun, 5 Apr 2009 17:19:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AC5B71FA41 for ; Sun, 5 Apr 2009 17:19:20 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07363-02-3 for ; Sun, 5 Apr 2009 17:19:11 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by ronja.ntg.nl (Postfix) with ESMTP id 2AD751FA4C for ; Sun, 5 Apr 2009 17:19:11 +0200 (CEST) Original-Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by filter2-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n35FJ9XA010246 for ; Sun, 5 Apr 2009 17:19:10 +0200 Original-Received: by wf-out-1314.google.com with SMTP id 25so1827805wfc.5 for ; Sun, 05 Apr 2009 08:19:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=4Ff5yY3Dk23Y1EPJ+4hKINr3NKudwwQTEhLqv12z/cA=; b=ue7Qk2I4ZzpzUICJoCis1umcOAo6r7mhi+QgG9N0t+BodrtUEMq19n5qxvKBiwjVfF WNAPrbgAqpBnY0EDwOnvvuWuGQ0gKyEUfplSIcxJeJHWS85Ix9uSzWIVUQ/Zin186P4B 8ff0ALfkSKslZ/wcfqsgn7IPJEGKoeYqwHeFs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=vmJydpn9tUdCrWtthqakXX80bfxA5YmUBKWR7Ft0omY4hy+kO5FcPpjL3uZijj8H9a TvilvOYn+Yb5brnh9aTmlHZon+a9V+F1xpzpHAh0pTttZk62lwduwKy1IWUqz/83r+Ww 5yBWnGB3PmiWUsKiIvM0JYedKV/MdR/6XMJFM= Original-Received: by 10.142.217.17 with SMTP id p17mr990115wfg.32.1238944748533; Sun, 05 Apr 2009 08:19:08 -0700 (PDT) Original-Received: from localhost ([41.237.40.66]) by mx.google.com with ESMTPS id 29sm4573527wfg.53.2009.04.05.08.19.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 05 Apr 2009 08:19:07 -0700 (PDT) User-Agent: Mutt/1.5.18 (2008-05-17) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.200.170; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 204113730 - 2df34b41dc3f - 20090405 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:49078 Archived-At: --===============0838390597== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aM3YZ0Iwxop3KEKx" Content-Disposition: inline --aM3YZ0Iwxop3KEKx Content-Type: multipart/mixed; boundary="FL5UXtIhxfXey3p5" Content-Disposition: inline --FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable The font seems to have a buggy (too big) GPOS kerning table (it does cause fontforge to hang writing the font). If 'kern' is set to 'yes', I get this error: =2E..text/tex/texmf-context/tex/context/base/node-inj.lua:62: attempt to index local 'kb' (a nil value) I had to put if..then around that line to suppress the error, may be some checks are needed for such broken fonts. P.S. The font is freely available as adobe reader font pack http://www.adobe.com/products/acrobat/acrrasianfontpack.html Regards, Khaled --=20 Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer --FL5UXtIhxfXey3p5 Content-Type: text/x-tex; charset=utf-8 Content-Disposition: attachment; filename="t.tex" Content-Transfer-Encoding: quoted-printable %\definefontfeature[arabic][arabic][kern=3Dno] \font\arab=3DAdobeArabic-Regular*arabic\arab \starttext=20 \completecontent \chapter{=D8=A7=D8=AE=D8=AA=D8=A8=D8=A7=D8=B1} \stoptext --FL5UXtIhxfXey3p5-- --aM3YZ0Iwxop3KEKx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAknYy+IACgkQRoqITGOuyPIdwACfc7Yui2VFxy1aZyVczQGXhoAK 4rwAnjYLnDYuTVzwbA0Mg9Tt4CzQoGWi =ZB8A -----END PGP SIGNATURE----- --aM3YZ0Iwxop3KEKx-- --===============0838390597== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0838390597==--