From: "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: for each script a different font
Date: Tue, 7 Dec 2010 16:19:45 +0100 [thread overview]
Message-ID: <4014F4A9-C1A7-4D14-A30C-FDC3BC65E839@uni-bonn.de> (raw)
In-Reply-To: <20101207134409.GC1971@khaled-laptop>
On Dec 7, 2010, at 2:44 PM, Khaled Hosny wrote:
> Then:
>
> \definefontsynonym [Serif][name:vollkornregular][fallbacks=arrows]
>
> But I don't know how to use multiple fallbacks.
You can define as many fallbacks as you wish. Here's a silly example:
\definefontfallback [Foo] [name:texgyretermes-bold] [0x0031-0x0032] [force=yes,check=no]
\definefontfallback [Foo] [name:texgyreheros-italic] [0x0033-0x0034] [force=yes,check=no]
\definefontfallback [Foo] [name:texgyreadventor-bolditalic] [0x0035-0x0036] [force=yes,check=no]
\definefontsynonym[SerifPlus][Serif][fallbacks=Foo]
\definefont[MySerif][SerifPlus at 24pt]
\starttext
\MySerif 1234567890
\stoptext
That should get you going.
HTH
Thomas
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-12-07 15:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-06 22:39 Peter Schorsch
2010-12-07 13:44 ` Khaled Hosny
2010-12-07 15:19 ` Thomas A. Schmitz [this message]
2010-12-07 15:28 ` Khaled Hosny
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=4014F4A9-C1A7-4D14-A30C-FDC3BC65E839@uni-bonn.de \
--to=thomas.schmitz@uni-bonn.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).