ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* OpenType cursive attachments
@ 2008-07-01 21:23 Khaled Hosny
  2008-07-01 21:53 ` Idris Samawi Hamid
  0 siblings, 1 reply; 2+ messages in thread
From: Khaled Hosny @ 2008-07-01 21:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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

* Re: OpenType cursive attachments
  2008-07-01 21:23 OpenType cursive attachments Khaled Hosny
@ 2008-07-01 21:53 ` Idris Samawi Hamid
  0 siblings, 0 replies; 2+ messages in thread
From: Idris Samawi Hamid @ 2008-07-01 21:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Salaam Khaled,

On Tue, 01 Jul 2008 15:23:25 -0600, Khaled Hosny <khaledhosny@eglug.org>  
wrote:

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

Thanks for the report. I will study this carefully tomorrow morning my  
time.

سلام
Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

___________________________________________________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2008-07-01 21:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-01 21:23 OpenType cursive attachments Khaled Hosny
2008-07-01 21:53 ` 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).