From: Khaled Hosny <khaledhosny@eglug.org>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Bug with "Adobe Arabic" font kerning
Date: Sun, 5 Apr 2009 17:18:58 +0200 [thread overview]
Message-ID: <20090405151858.GA14899@khaled-laptop> (raw)
[-- Attachment #1.1.1: Type: text/plain, Size: 628 bytes --]
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:
...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
--
Khaled Hosny
Arabic localiser and member of Arabeyes.org team
Free font developer
[-- Attachment #1.1.2: t.tex --]
[-- Type: text/x-tex, Size: 156 bytes --]
%\definefontfeature[arabic][arabic][kern=no]
\font\arab=AdobeArabic-Regular*arabic\arab
\starttext
\completecontent
\chapter{اختبار}
\stoptext
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2009-04-05 15:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-05 15:18 Khaled Hosny [this message]
2009-04-05 21:24 ` Hans Hagen
2009-04-05 22:50 ` Khaled Hosny
2009-04-06 2:14 ` Idris Samawi Hamid ادريس سماوي حامد
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090405151858.GA14899@khaled-laptop \
--to=khaledhosny@eglug.org \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).