[NTG-context] font fallbacks

Henning Hraban Ramm texml at fiee.net
Mon Aug 1 21:00:33 CEST 2022


Am 01.08.22 um 20:43 schrieb denis.maier at unibe.ch:
> Hi,
> I have used more than one fallback, but each fallback is for a different character range

Thank you.

I tried:

\definefontfallback[seguiFB]
   [file:seguisym.ttf]
%  [0x00000-0xFFFFF]
   [0x0007F-0xFFFFF]
   [check=yes,force=no]

\definefontfallback[tildeFB]
   [file:seguisym.ttf]
   [0x0007E-0x0007E]
   [force=yes]

\definetypeface [start] [tt] [mono]  [modern] 
[default][fallbacks={tildeFB}] % ,seguiFB


I can either replace the one character or fall back for all missing 
characters, but not both. Maybe it’s the mixture of force=yes/no.

For the emoji fallback, I’d need to define all the necessary ranges...

Hraban


More information about the ntg-context mailing list