ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bug with "Adobe Arabic" font kerning
@ 2009-04-05 15:18 Khaled Hosny
  2009-04-05 21:24 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Khaled Hosny @ 2009-04-05 15:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-04-06  2:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-05 15:18 Bug with "Adobe Arabic" font kerning Khaled Hosny
2009-04-05 21:24 ` Hans Hagen
2009-04-05 22:50   ` Khaled Hosny
2009-04-06  2:14   ` Idris Samawi Hamid ادريس سماوي حامد

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).