From: Khaled Hosny <khaledhosny@eglug.org>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: OpenType cursive attachments
Date: Wed, 2 Jul 2008 00:23:25 +0300 [thread overview]
Message-ID: <20080701212325.GA10139@khaled-laptop> (raw)
[-- Attachment #1.1.1: Type: text/plain, Size: 393 bytes --]
Enabling "curs" font feature doesn't seem to enable it, in the attached
example I enabled "curs" for the first line and disabled it for the
second one, but it doesn't seem to get applied (the same output in the 2
lines).
The font is here
http://www.khaledhosny.org/files/pub/SimplifiedNaskh/SimplifiedNaskh.ttf
--
Khaled Hosny
Arabic localizer and member of Arabeyes.org team
[-- Attachment #1.1.2: curs.tex --]
[-- Type: text/x-tex, Size: 658 bytes --]
% engine=luatex
\definefontfeature
[curs]
[mode=node,language=dflt,script=arab,
init=yes,medi=yes,fina=yes,isol=yes,
liga=yes,dlig=yes,rlig=yes,clig=yes,
mark=yes,mkmk=yes,kern=yes,curs=yes]
\definefontfeature
[nocurs]
[mode=node,language=dflt,script=arab,
init=yes,medi=yes,fina=yes,isol=yes,
liga=yes,dlig=yes,rlig=yes,clig=yes,
mark=yes,mkmk=yes,kern=yes]
\font\CArab = SimplifiedNaskh*curs at 32pt
\font\NArab = SimplifiedNaskh*nocurs at 32pt
\setcharactermirroring[1]
\starttext
\textdir TRT\pardir TRT
\CArab
في فى قي قى فئ قئ
\NArab
في فى قي قى فئ قئ
\stoptext
[-- Attachment #1.1.3: curs.pdf --]
[-- Type: application/pdf, Size: 10925 bytes --]
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 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:[~2008-07-01 21:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-01 21:23 Khaled Hosny [this message]
2008-07-01 21:53 ` 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=20080701212325.GA10139@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).