[NTG-context] problem with Segoe Ui Symbol as fallback font
Jacob Kauffmann
jacobkauffmann at me.com
Wed Jan 4 14:29:37 CET 2023
The problem is that now that \bf, \it and so on stopped working outside math mode.
A workaround is to add \rm after \starttext.
Maybe the developers can shed some light :)
Please find MWE below.
Cheers,
Jacob
\definefontfallback[cal-fallback][name:modern][uppercasescript,lowercasescript]
\starttypescript[mainface]
\definetypeface[mainface][rm][serif][pagella][default]
\definetypeface[mainface][ss][sans] [modern] [default][rscale=1.075]
\definetypeface[mainface][tt][mono] [modern] [default][rscale=1.075]
\definetypeface[mainface][mm][math] [pagella][default][fallbacks=cal-fallback]
\stoptypescript
\definefontfamily[mainface][mm][mainface]
\definefontfamily[mainface][rm][pagella][bf=style:bold]
\usetypescript[mainface]
\setupbodyfont[mainface]
\startbuffer
The quick brown fox jumps over the lazy dog
\stopbuffer
\starttext
% \rm % works
{\rm \getbuffer}\par
{\ss \getbuffer}\par
{\tt \getbuffer}\par
{\bf \getbuffer}\par
{\it \getbuffer}\par
{\sl \getbuffer}\par
{\bi \getbuffer}\par
{\bs \getbuffer}\par
{\sc \getbuffer}
Should be Palatino: $x + y$ $f({\bi x})$
Should be Latin Modern: ${\cal I}$ $\mathcal{I}$ $\mathscr{I}$
\stoptext
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20230104/1dae7893/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/1dae7893/attachment.sig>
More information about the ntg-context
mailing list