ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Arabic protrosion
Date: Mon, 06 Apr 2009 15:46:22 +0200	[thread overview]
Message-ID: <49DA07AE.4000806@wxs.nl> (raw)
In-Reply-To: <op.uryvrilxfkrasx@your-b27fb1c401>

Idris Samawi Hamid ادريس سماوي حامد wrote:
> On Mon, 06 Apr 2009 00:40:12 -0600, Khaled Hosny <khaledhosny@eglug.org> 
> wrote:
> 
>> The attached patch adds Arabic coma, semicolon, full stop (used in Urdu)
>> and question mark to font-ext.lua for protrusion.
>> Now, combined with glyph expansion, I don't get any overfull boxes.
> 
> Arabic-script microtypography is one of the cornerstones of the Oriental 
> TeX project. We've been studying this matter for some time now:
> 
> Because of
> 
> a) the normal wide spacing around Arabic punctuation, and
> 
> b) the large size of Arabic punctuation relative to Latin,
> 
> I'm not sure that protrusion of Arabic-script punctuation is a good 
> idea. It needs a lot of thought, and a lot of testing, before adding it 
> to the system. As for glyph expansion, I don't see how that works at all 
> with the current model, except perhaps with very horizontal fonts. But 
> in that case all that's needed is smart tatweel, not glyph expansion. 
> For hq fonts the current glyph expansion model will mess up the 
> contextual connections.
> 
> Although one can certainly do things with the current model of 
> protrusion and hz, we need more, much more. Khaled, send me some tests 
> off-list and I'll examine them in light of the overall analysis as we 
> prepare for adding Arabic microtypography support, hopefully pretty 
> soon. Thanks plenty for the contributions, and

ok; in the meantime i added his patches since they don't hurt

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2009-04-06 13:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-06  6:40 Khaled Hosny
     [not found] ` <op.uryvrilxfkrasx@your-b27fb1c401>
2009-04-06 13:46   ` Hans Hagen [this message]
2009-04-06 20:20   ` Khaled Hosny

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=49DA07AE.4000806@wxs.nl \
    --to=pragma@wxs.nl \
    --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).