diff options
Diffstat (limited to 'tex/context/base/font-sym.mkvi')
-rw-r--r-- | tex/context/base/font-sym.mkvi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tex/context/base/font-sym.mkvi b/tex/context/base/font-sym.mkvi index 1ce76fc0b..68237c073 100644 --- a/tex/context/base/font-sym.mkvi +++ b/tex/context/base/font-sym.mkvi @@ -228,4 +228,15 @@ %D After which the font is active and the baselines and %D struts are set. +%D \macros{doiffontcharelse} + +\unexpanded\def\doiffontcharelse#specification#unicode% this could be a direct lua call + {\begingroup + \font_basics_define_font_without_parameters{thedefinedfont}{#specification}% + \iffontchar\font#unicode\relax + \endgroup\expandafter\firstoftwoarguments + \else + \endgroup\expandafter\secondoftwoarguments + \fi} + \protect \endinput |