On Tue, Dec 07, 2010 at 04:19:45PM +0100, Thomas A. Schmitz wrote:
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.
Thanks. I, naïvely, assumed I have to define several different fallbacks and pass that do \definefontsynonym. This will simplify my font setup a bit, but the issues in my other mail still exist. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer