Am 17.06.2011 um 09:43 schrieb Vianney le Clément:
Hi all,
Is it possible to set a fallback font from which glyphs will be taken if the current font doesn't have it? For example, I'd want to use fancy miscellaneous symbols from the Symbola font using their unicode codepoint without any extra font-changing command (and obviously, I don't want to use Symbola for the rest of the text).
Alternatively, setting different fonts for different unicode blocks would also do the trick.
\usemodule[simplefonts] \setmainfontfallback[Symbola][range=0x0001-0xFFFF,force=no] \setmainfont[TeX Gyre Pagella] \starttext Palatino ❡ \stoptext You can control the replacement of the main font with the “check” and “force” keys (requires the latest version of the module i uploaded a few minutes ago), Hans described their function in context’s source: % check : only replace when present in replacement font (default: no) % force : force replacent even when basefont has glyph (default: yes) Wolfgang