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>
Cc: "\"H. Özoguz\"" <h.oezoguz@mmnetz.de>
Subject: Re: Arabic Characters shown wrong
Date: Mon, 21 Jan 2013 17:39:42 +0100	[thread overview]
Message-ID: <50FD6F4E.1050404@wxs.nl> (raw)
In-Reply-To: <50FD52A7.10504@mmnetz.de>

On 1/21/2013 3:37 PM, "H. Özoguz" wrote:
> Hi there,
>
> today I have the following issue:
>
> In Arabic there is a character called "Lam-Alif", it is a composition of
> "Lam" and "Alif", which is displayed usually in another way, than just
> writing "Lam" and "Alif" after each other in the usual way.
>
> See here:
> لا‎
> http://en.wikipedia.org/wiki/Arabic_alphabet
>
> For Arabic I use the font Scheherazade
>
> \definefont[Shehkl][name:Scheherazade*arabic at 15pt]
>
> \definestartstop[Arab][commands=\setups{Arabic}]
>
> \def\Arab{\doArab}
>
> \def\Arab[#1]{
>
> \startArab
>
> \noindentation
>
> \setupalign[r2l]\Shehkl#1
>
> \stopArab
>
> }
>
>
> which worked perfect, until today!
>
> Now if I write \Arab[لا]
>
> it is now not shown, like it should (and like your emailer will show it
> probably correctly, too).
> For conveniance I opened another, older, document, where the arab
> worked, and compiled it again, with absolutely no change -> and again,
> the same bug. What is the problem, what changed in ConText relevant to
> this problem, if any?

I don't know ... if the old version has it too then nothing changed I 
guess.

\usemodule[fnt-20]

\starttext

\setvariables
   [otftracker]
   [direction=-1,
    sample=لا,
    title=Test,
    font=file:arabtype,
%    font=file:husayni,
%    font=file:scheherazaderegot,
    features=arabic]

\stoptext

Arabtype is the only one that has the 'rlig' for that combination. So, 
more info is needed about what should trigger this ligature replacemnt.

Hans

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

  reply	other threads:[~2013-01-21 16:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-21 14:37 "H. Özoguz"
2013-01-21 16:39 ` Hans Hagen [this message]
2013-01-22  7:40   ` "H. Özoguz"
2013-01-22 12:13     ` Hans Hagen
2013-01-22 13:54       ` "H. Özoguz"
2013-01-22 17:49         ` Hans Hagen
2013-01-23  6:54           ` "H. Özoguz"

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=50FD6F4E.1050404@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=h.oezoguz@mmnetz.de \
    --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).