From Wiki
< Command
Revision as of 08:57, 15 August 2016 by Henri (talk | contribs) (Created page with "{{Reference |name=definefontfallback |attributes= }} == Syntax == <table cellspacing="4" cellpadding="2" class="cmd"> <tr> <td colspan="2" class="cmd">\...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search



[...] IDENTIFIER (typescript identifier)
[...] TEXT (existing font set)
[...] TEXT (Unicode ranges)
rscale NUMBER
force yes no
check yes no


This command allows to define fallback fonts for certain glyphs which are not found in the main font. The command takes four arguments where the last one is optional.

The implementation is located in font-col.mkvi and font-col.lua.


In the example we load the moustache brackets from XITS Math because they are not available in Latin Modern Math, which is the default math font. Of course, the technique also works for text fonts.

\definefontfallback [xits-fallback] [file:xits-math.otf] [023B0,023B1]

\definefontsynonym [MathRoman] [modern] [fallbacks=xits-fallback]


$\lmoustache a \rmoustache$


(The example does not work on the Wiki due to the lack of the XITS font.)

Help from ConTeXt-Mailinglist/Forum

All issues with: