ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Marco Patzer <lists@homerow.info>
To: ntg-context@ntg.nl
Subject: Re: Typesetting Classical Arabic Poetry
Date: Mon, 26 Aug 2013 20:06:29 +0200	[thread overview]
Message-ID: <20130826180629.GV18239@homerow> (raw)
In-Reply-To: <CAHVY6TOD15_u1zMypQq_Eu1bNq6Am2bTs7ewRdiCCKdNKO7YJQ@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1536 bytes --]

On 2013–08–26 J. R. Schmid wrote:

> I've played around with your module and ran into some problems
> which may have been due to my inexperiencedness with ConTeXt
> (rupturing of ligatures, at least with Scheherazade and
> inconsistent line height). Marco has been helping me though, and
> it looks like he solved those problems while improving on your
> module while doing so. He doesn't seem to be done with it yet and
> perhaps he'll want to reply himself when he is, so I'll leave it
> at that for now :-)

I don't do any Arabic typesetting myself, but I wrapped Idris' idea
into a nicer interface¹. Since I don't use it myself, I'll leave it
like that until I receive feedback or improvement suggestions.
There's no documentation yet, as I don't know how useful this is in
the first place.

In contrast to Latin script, justifying Arabic text is not solely
achieved by varying the inter-word space, but also by means of
elongating particular glyps². After having read Idris' article³ it
seems like this is a font feature. However, I have no idea which
particular feature is responsible for the elongation and how many
fonts actually have it. I could not find the mentioned Husayni font
anywhere, which seems to be able to do this. So for the time being
the justification is only done by varying the inter-word space.

Arabic is beautiful!

Marco

¹ https://github.com/mpfusion/context-arabic-verse
² http://en.wikipedia.org/wiki/Kashida
³ https://www.tug.org/TUGboat/tb31-2/tb98hamid.pdf

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2013-08-26 18:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-26 14:15 J. R. Schmid
2013-08-26 18:06 ` Marco Patzer [this message]
2013-08-26 20:39   ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2013-08-23 21:12 J. R. Schmid
2013-08-24 14:13 ` 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=20130826180629.GV18239@homerow \
    --to=lists@homerow.info \
    --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).