On 11/14/2013 5:06 PM, Wolfgang Schuster wrote:
> Am 14.11.2013 um 22:52 schrieb Lars Huttar <lars_hut...@sil.org>:
>
>> ... But then I have another font for the title:
>> \definesimplefont[titleface][Gentium Basic][size=40pt]
>>
>>
>> How do I set a fallback for it?
>> ...
> There is no support for this with the old version of the module.
>

For posterity, here is how I worked around it:

\usemodule[simplefonts]

% The main font for text:
\setmainfont[Gentium Book Basic]

\setmainfontfallback[Gentium Plus][range={ipaextensions}, force=yes,
rscale=auto]

% The font for the title:
\def\titlefont{Gentium Basic}

\starttext

% Temporarily change the main font, while keeping the main font fallback:
{ \setmainfont[\titlefont] \switchtobodyfont[40pt] Title with a fancy
É lyph }


% Back to our previously defined main font:

Body text ...

\stoptext


Lars

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

Reply via email to