ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* for each script a different font
@ 2010-12-06 22:39 Peter Schorsch
  2010-12-07 13:44 ` Khaled Hosny
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Schorsch @ 2010-12-06 22:39 UTC (permalink / raw)
  To: ntg-context

Hi all,

is it possible to mix severel fonts (for each script one font)? Regarding to 
some fragments of the wiki I tried:

\setupdirections[bidi=global]

\definefontfeature[cyrl][script=cyrl]
\definefontfeature[brai][script=brai]
\definefontfeature[arab][script=arab]

\starttypescript [serif] [vollkorn]
  \definefontsynonym [Serif][name:vollkornregular]
  \definefontsynonym [Serif][name:doulossil][feature=cyrl]
  \definefontsynonym [Serif][name:scheherazade][feature=arab]
  \defomefpmtsynonym [Serif][name:sechspunktbraille][feature=brai]
\stoptypescript


\definetypeface[fliesstext][rm][serif][vollkorn]
\setupbodyfont[fliesstext,rm,11pt]

\starttext

Regular Еупгдфк цшкв уы more test text a ُءشةحمث and continue latin script 
⠇⠤⠧⠬⠀⠟⠢⠭.

\stoptext

But the last \definefontsynonym overrides the entire unicode space and not 
only the part regarding to the related script.

Is the mechanism I tried in ConTeXt possible?

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

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

end of thread, other threads:[~2010-12-07 15:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-06 22:39 for each script a different font Peter Schorsch
2010-12-07 13:44 ` Khaled Hosny
2010-12-07 15:19   ` Thomas A. Schmitz
2010-12-07 15:28     ` Khaled Hosny

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