[NTG-context] problem with Segoe Ui Symbol as fallback font

Jacob Kauffmann jacobkauffmann at me.com
Wed Jan 4 13:32:49 CET 2023

Hi Hraban,

I had a similar problem with math fallbacks (no errors, fallbacks not used) and just found a solution.
Please find a small example below.

I don't understand why we need the line \definefontfamily, but it's necessary for the fallbacks to work.
Also, it stops working when I do \setupbodyfont[mainface,rm].



  \definetypeface[mainface][ss][sans] [modern]  [default][rscale=1.075]
  \definetypeface[mainface][tt][mono] [modern]  [default][rscale=1.075]
  \definetypeface[mainface][mm][math] [palatino][default][fallbacks=cal-fallback]


{\rm \input ward }

{\ss \input ward }

{\tt \input ward }

Should be Palatino: $x + y$

Should be Latin Modern: ${\cal I}$ $\mathcal{I}$ $\mathscr{I}$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20230104/911c8ae7/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20230104/911c8ae7/attachment.sig>

More information about the ntg-context mailing list